Attempt at improving replace module a bit. Only one RegEx, bit more explanatory var names, made list of messages private.
Merge pull request #15 from verath/master

Improved replace readability and regex