Added a language extension file

This is where all language modifications (for example, methods added to
language-provided classes) should go.
Added RegExp escaping in Township requests