Add grunt, karma and basic unit test

Gives the ability to run unit tests and provides a basic test.
Merge pull request #2 from waylon999/gruntkarma

Add grunt, karma and basic unit test