Snoblind: Mogul: Moved some non-jsoup-specific code from the jsoup package.