Fixes the script for PostgreSQL

Currently we're not able to follow the tutorial with PostgreSQL: http://aerogear.org/docs/unifiedpush/ups_userguide/server-installation/#_postgresql_database. Because the script fails.

To reproduce the issue, on WildFly 8.1.0, run:

```jboss-cli.sh --file=databases/postgresql-database-config.cl```

This pull request must go on `master` and `1.0.x` branch