php build/build.php

* Fixed minor issues with the PHP build script, allowing it to be ran from the command line.
* Added UMD to the resulting build/phaser.js, to allow phaser to work in Node, AMD and standard browser environments.