Merge pull request #25 from revite/master

Update tests that involve <frame> in <template>
Added new tests for foster parenting in template, after after frameset and parsing fragment in html context.