Create databases and grant ownership separately

Separate database creation and ownership into separate queries so the admin user doesn't have to be a superuser (to support Amazon RDS).