Added unit tests for Tile.js and Grid.js
Fixes to grid.js tests
Added unit test for position.js
Added more unit tests.
Added require config for client testing.
Restructured some code to make it more easily testable.
Updated Server game.js unit tests
Merge branch 'UnitTesting' into dev