[Feature] A configurable and extensible cron

* Code cleaned up from last review
* Implements regular cache cleaning and log trimming
* Allows jobs to be scheduled/called from extensions
* Configurable from config.yml
* bolt-docs will be updated when merged