Test scorecard module

Create tests for the scorecard module and update Makefile to run Karma
correctly on 'make test'.
Replace department with scorecard

Properties previously associated with a department are now associated
with a scorecard, and all references to department have been updated.