Refactoring: constants

Standardize constants usage following Google’s JavaScript code style
guide
Major refactoring: Battle, Grid, StateManager

Major refactoring of battleModel, battleView, gridModel, gridView, and
characterTurnView to better separate logic