Allow existing *sql.DB to be registered to qbs ORM

Separated qbs.Register function such that assigning the db variable and connecting to a database are handled in different two functions, allowing a user to easily hook up an already established *sql.DB to use the qbs ORM.