call it button_new instead of new

"new" is sometimes a reserved keyword and it would be nice to not use
that name.
remove two unused methods from map_editor.py
return constants after parsing
Merge branch 'master' into map-editor-stuff
Merge pull request #58 from kanzure/map-editor-stuff

Minor map editor changes