mako 'else if' keyword is 'elif' not 'elsif'

this should make it outdent properly
cleanup
Merge pull request #310 from bgruber/master

mako 'else if' keyword is 'elif' not 'elsif'
eus compatibility
cleanup
optimizations and code rationalization
autopair for ejs