Fix the metadata string escape generation by using the PDFText._escape
method. 

Simplify the PDFText._escape() method to get the escapes in the correct
order with one loop.
Revert to copy of PDFText._escape()
Merge pull request #11 from tjoneslo/text_to_string_fix

Text to string fix
Fixed write bug where too much whitespace was stripped
Rewrote html to be object oriented
Merge branch 'master' of https://github.com/katerina7479/pypdflite
For package
Fixed page margins, on write add page
Package
If new page comes from text, cursor boundaries are saved.
Package
Fixed issue where y_prime was too small, due to being calculated from y_max vs max page size
Fixed margins, pdftext will no longer print in upper margin. Write method allows for very large text
For package
Fixed bug in write with erroneous newline
Package
Implemented html set class attributes
Fixed background image bug
Package
Merge branch 'master' of https://github.com/katerina7479/pypdflite