tabs to spaces in map_editor.py

This is to maintain consistency in python source code formatting in the
project.
move import statements to top of map_editor.py
get PIL from pypi to run map editor
make ConfigException accessible

Apparently the "exceptions" name is already used for another module.
change RomStr usage in gfx.py to use RomStr.load
factor out global configs in map_editor.py
only set global constants for eval

Although I am not sure that using eval is a good idea in the first
place... it should go away.
fix up map_editor.py extra newlines
use explicit import of Tkinter components
replace print with python logging
also import TclError into map_editor.py
use pillow instead of PIL in requirements.txt
clean up more imports in map_editor.py
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
Merge pull request #57 from yenatch/master

gfx rewrites and 1bpp support
Merge pull request #56 from kanzure/map-editor-stuff

Remove globals from the map editor
return constants after parsing
Merge branch 'master' into map-editor-stuff
Merge pull request #58 from kanzure/map-editor-stuff

Minor map editor changes