added phaser-state.js.
use phaser-state.js in editor code.