Adding replacement and encode commands.
* Replacement performs a simple replacement based on a dictionary of replacements (This will hopefully later be made configurable)
* Encoding uses the ASCII codec's 'xmlcharreplace' functionality to replace characters found with their XML/HTML equivalents. Note that this does not produce "pretty" html entities. I'm considering using the dictionary method for this instead.