Configurable interval for every IntervalModule

settings attribute for every class inheriting from IntervalModule are
automatically extended by interval setting if it does not exist.

A function to flatten settings in SettingsBase was extracted and added
as a static method.
Merge pull request #42 from jedrz/configurable-interval

Configurable interval for every IntervalModule