db fixes for mamp, default to mysql
build dsn separately
a config suitable for mamp
Merge pull request #23 from vijinho/1.0-dev

1.0 dev