trim when setting document language
added a pass to determine document language
added rss pass
added charset pass