Allow user permissions to be set in create_database_user

Adds support for setting readFrom and writeTo permissions (and any other options) when creating a database user.