Added script and text for reference entities for ePub (and HTML) stuff.
Updated readme with more information about what all this stuff is.