Updates gruntfile test runner, adds console clean after tests
Adds some test coverage, sets up fixtures for testing
move karma config to top level
additional test helpers