Various

Fix a crash when EDITOR not set, add a simple distutils build system, convert README to github markdown.