Fix Header Comments
remove unused legacy code
fix leaks
make detectURLsInText less sensitive to spacing around hrefs
prevent crash when spaces are found in key value pairs
Merge pull request #15 from aprato/link-parse-fix

Fix crash on spaces in tag properties, leak fixes and some cleanup