Updated PostgreSqlNode

- Allow configuration file templates
- Set log file location as attribute
- Better control of commands used in driver
- Added shared memory and max connections configuration
- Sample `postgresql.conf` template supplied

Also updated other database entities and tests to use `DatastoreCommon` consistently

**Note** Requires #1083 for _processOwner_ flag