Game engine revisions

fixed bug on map update. added testing support. cleared unused code.
added win-checking and enforced adjacent moves. fixed inconsistencies.
changed move.getTurn to move.getPlayer. added Player.PLAYER_X and
Player.PLAYER_O