Fixes for monit 4

The configuration file created by the module is not compatible with monit 4, in particular 'start delay' and 'idfile' are not supported by monit 4.

With these commits the configuration file can be created in a backwards compatible way.