Correct handling of the <template> tag content fragments. Fixes #942
Some minor cleanups
Require latest parse5, for <template> support
Version 1.2.1