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).
Merge pull request #1 from bobobo1618/master

Create databases and grant ownership separately