Add build script

Run php scripts/build.php from the root directory to auto-generate the autoload classmap.