Add support for HTML Entity encoding output when using Nokogiri

Added a new option **output_encoding** and (a -e flag for the command line executable) so that output with HTML Entities is possible when using Nokogiri. Default behavior is still UTF-8.

This should fix issues #30, #126, #178, and possibly #68, #74