MX-1137 Code to enable a point in time recovery plugin:
 - add command line option to start up in maintenance mode
 - separate replication rollback code from isRollbackRequired
 - add inMaintenanceMode function
 - auth stuff