add Template.prototype.clear

R=arv
BUG=

Review URL: https://codereview.appspot.com/59480047