Added a new utils file for the karma unit tests so i could refactor the controller tests to make them easy to write and easier to read.
Merge branch 'dev' of https://github.com/votinginfoproject/Metis into dev