Better environment management

Use an external package for dsn parsing, and minimize the
logic required in the app template
Merge pull request #28 from FriendsOfCake/feature/better-env

RFC: Better Environment management
lock dsn parsing to specific version
Ensure database connection is utf8 by default
Remove reference to a file that no-longer exists