add jsdoc to template
add example for templating with underscore library
tests for Template.js
merge with abstract-templating
fix minor issues with merging to master