Update rebar config

- Update version matching in deps
- include epgsql in the escript apps
- Add the application version
Add the ability to connect to PostgreSQL