Outline of tests and tests login.
Added how_long as a meta attribute to Badges
Only milestone badges may be awarded automatically. Badges with 0 or 1 prerequisites must be awarded manually.
Added some structure for what would be needed in future unit tests
Merge pull request #6 from abztrakt/SDEV-374

SDEV-374