Extracted map and game.

Extracted map functions to map.js (really just 2d grid functions).
Extracted game functions to game.js.
Started objectifying game functions.
Started refactor of game functions. Temporary map now uses a 2d json
object instead of an array of json objects.
Fixed various errors, started Map object code

Fixed scope of variable 'array'.
Fixed closure of 'this' in SurvivalGame.prototype.populate method (named
g).
Changed animal counts to use the name of the first of each animal added.
Started creating Map object.