Added rolling log file support

Support for rolling messages.log, default max history is 7 days, configurable through settings.