remove sanity checks, tidy up fragment creation
add code coverage (Enable coverage flag on QUnit page)
simplify logging
remove unused errors etc
update grunt config
add lastItem helper
Merge pull request #1587 from ractivejs/refactor

More refactoring