Create db refactor

Primary reason for this branch is #42.

When creating a DB and no based_on or owner params are given, it uses the 'db_user' config item as the created database's owner.

It also cleans up create() in DatabaseRoutes by combining several methods that used to be separate.