Move cursorclass specification to database module
I’m working on some features that will work best with a streaming
(non-buffering) cursor, so the database module needs to decide itself
which cursor class to use. And really, it’s not like it could work with
any cursor class – a DictCursor wouldn’t work, for example.