added karma and jasmine for testing

simplified installation with name package.json
better testing and initial test case
include libraries so tests don't collapse
testing core logic

removed easel and jquery, we are not testing our dependancies.
refactoring game code to be more testable

as well as more maintainable
grunt is a dev depandancy
updated documentation for testing
cleaning karma, re-adding jshint
Merge pull request #153 from ChristianMurphy/javascript-testing

Javascript testing