1. Changed template api to have only one method, which is used for both
compiling templates and for fetching a compiled template.
2. Dropping nocache option since it seems unnecessary.
3. More friendly error message in case of syntax error in template.
Implemented for each loop syntax for templates.
Removed older template.js.
Renamed experimental template2.js to template.js
Updated experimental template example.