ENH: add locale, encoding, and template options to dbcreate

a) fix bug in role creation in dbcreate
b) allow setting of locale, template, encoding in dbcreate