fixes #1514
adds new doctype primitive, bumps template spec version -> 2
merge dev
Merge pull request #1530 from ractivejs/gh-1514

gh-1514