Revert static templates and map prototype defaults

I've reverted the static templates for back-compat, and mapped the prototype templates to the statics by defaults.

The only change is to the src/tabview.js file. Updating your PR with the latest dev-3.x should remove all the other diff noise.