db: introduce Connect function

Instead of using init to connect to the database, users of this package
must now call Connect. Connect uses information from the config file to
determine to which database it has to connect.

Related to #59.
db: added basic documentation
all: using db.Connect to connect to the database before using it

Closes #59.