Improve design of gejs

* Attempts to ensure that single-line substitutions lose whitespace.
* Attempts to ensure that multi-line substittuions have correct indent.
Merge branch 'master' of github.com:GlimmerLabs/MathOverImages
Fix bug #34
Merge branch 'master' of github.com:GlimmerLabs/MathOverImages