Expose sql_mode to templates.

Change-Id: I9cfa144d6f9f071015c46618d416657bff18cb63