Support text & html in same template.

Format is no longer an attribute of the store_email_template.  It now
contains text_template and html_template as attributes.

Change-Id: I47d6b5d536d7bffea62bae5a69fbcf61664217be