Add jaws.setDimensions() test, formatting fixes to map.

Signed-off-by: suicidepills <atom.mac@gmail.com>
Merge branch 'master' of https://github.com/suicidepills/hack-n-slash-sprint
Initial impl of PlayerFactory.

NOTE: Multiple viewports can only be supported if jaws.Viewport is
modified to accept x_offset/y_offset options.

Lays groundwork for key/control maps for multiple players.

Known bug: Only one character is shown per viewport.

Signed-off-by: suicidepills <atom.mac@gmail.com>
Allow different keymaps for each player.

Signed-off-by: suicidepills <atom.mac@gmail.com>
Merge branch 'master' of https://github.com/suicidepills/hack-n-slash-sprint

Conflicts:
	js/main.js
	js/states/play-state.js