Issue #1493098 by sun, jcisio, pcambra, Pol, wamilton, Rok Žlender, beejeebus: convert cron settings to configuration system.

PR for https://github.com/backdrop/backdrop-issues/issues/170
state_get('install_task') should stay as state_get() and not variable_get().