Initial unit test framework commit
Added unit test option that is off by default.
Merge pull request #297 from oyvindln/development

Unit test stuff