Map Creation

This is the beginning of a system to edit a map and send it to the server. The number keys are used to change which tile is being painted and a mouse click will paint that tile. The UI is very simplistic, but the core functionality is there. The save button calls a function to convert the map array to json and post it to the server. Right now, mapSave.php is merely a proof-of-concept. It accepts that json string, converts it to a php array, and prints the values in the array. It could use the functions in json.inc to write the string to a file instead.