Fixed compilation error in debug mode.
Improved debug message in json parsing.

Type modifier values, move names, and pokemon names are now printed.
Added bounds checking to Command "move".
Replaced the game loop in main with game loop in Environment.