trim module support nest 'pre'  and work with echo module.

1.remove extra whitespaces in tag.
2.support nest 'pre'.
3.support work with echo module.
4.the "trim_js" and "trim_css" directives