Fix plugin to produce valid HTML

Nokogiri was adding `<html><body>...` to anything filtered through `truncatehtml`. This produced very invalid html.

I switched it to use the [fragment](http://nokogiri.org/Nokogiri/HTML.html) method so that Nokogiri doesn't add these extra tags.