Add testing keywords to JShint ignore list
Decoupled StateManager object from the StateManagerComponent to make it easier to test
Load AMD module into node.js so it can be tested server-side