Remove non-static references to DBService from StoredProject, StoredProjectConfig and ConfigOption.

Refactor the business objects StoredProject, StoredProjectConfig and ConfigOption, removing non-static references to DBService. Also adds tests for these business objects and the AddProject class.

Also contains pull request #26.