Add ability to compile templates without a DOM
Preventing more unsafe DOM operations
Fixing JSHint erros
Merge pull request #964 from bitovi/domless-compilation

Domless compilation