POR tag added & refactoring repo-to-html for easier unit testing

closes #40 & #38 
This has the code to add POR tags around text elements to keep track of what their IDs are. This is subject to change based on what is found with the XML-text-tail style, but for now, might as well get started implementing our way.

Ian assigned since this is his code and he is working on this actively
OH LAWD.

Please Please _PLEASE_ make sure that there is a case for Doctype when going through and making the document, otherwise this is a one way ticket to broken HTML