add tests for GameCore, move variable in pointInPolySpec and add globals to jshint config in grunt