Add spec that fails if jQuery 1.8+ is referenced
Implement fix for #801
Merge pull request #801 from SteveSanderson/801-empty-template-and-jquery-parseHTML

Empty template throws error in 2.2.1