Expanding on the implementation in d582016, add a decorator `core.module.every()` that allows a module to specify how often to update the module's state. This can still be overridden using the CLI parameter `interval`.
d582016
Also, improve errors when importing a module fails. Also, add more tests.