Added unit tests
Added htmLawed library
Fixed issue #77
Merge pull request #161 from pvankouteren/issue-77-trimtext

Issue 77 trimtext. Fixes #77.