add PostgreSQL database support
use `mysql` executable from PATH to play nice with scl mysql version
Merge pull request #12 from akostadinov/master

add PostgreSQL database support