Refactor code ready for changing database backend.
Fix handling for old-style date format.
Fix active handling.
Remove unneccesary vars types from ReportRecord.
Change database API set --> add.
Change YAML database to reports.yml
Commonise some command code
Remove the ReportManager module
Add ConfigManager and new default config.yml
Fix up coding styles.
Update plugin.yml
Merge pull request #1 from dyaizon/master

Move data out of config.yml, and genericise data handling.