Creates missing ckan_dev database
Fixes locale settings error, encoding does not match locale (createdb)

Database creation will fail if encoding does not match locale settings.