more integration testing for embedded
removed tmpl.min.js
quick template html cleanup
added a ton of useful integration tests