refactor monit templates / postgres for nuxeo

closes #13