fix root dir determination
refactor configuration - turn all_databases to false default
fix tests
update default database for postgresql
Merge pull request #33 from lexxpavlov/master

fix root dir determination