Tolerate leading/trailing whitespace in html string.

Fixes bug where can't domify component-converted templates correctly without .trim due to trailing newline in template files.

I can't think of any use case where you'd want domify to care about leading/trailing whitespace.