Move harep operations into maintd's main loop
Move harep operations into maintd's main loop

For the moment, we wait a fixed amount of time between the
runs of the main loop. Later, once we added maintd's state
to the configuration, we will wait for all submitted jobs
but at least a configurable amount of time.

Signed-off-by: Klaus Aehlig <4ce51de36d9068cd7db2eec1151e0f3f95419008@google.com>
Reviewed-by: Petr Pudlak <9d19625f8ee825a2c398462ed335cbcf98f79c32@google.com>

ganeti/ganeti,andir/ganeti,andir/ganeti,onponomarev/ganeti,leshchevds/ganeti,ganeti/ganeti,bitemyapp/ganeti,leshchevds/ganeti,ganeti/ganeti,mbakke/ganeti,bitemyapp/ganeti,mbakke/ganeti,grnet/snf-ganeti,leshchevds/ganeti,andir/ganeti,grnet/snf-ganeti,onponomarev/ganeti,mbakke/ganeti