Fixed Simulator to actually use protectAPI.
Merge branch 'master' of https://github.com/codecombat/codecombat