Escape } in context regexes for ruby 1.8.7.
Merge pull request #57 from bshelton229/context-lock-regex

Escape } in context regexes for ruby 1.8.7.
change parser env conversion (to handle true/false values - closes #58)