Snowone tou add template

1. updated actions/terms.js to add templateId to the response
2. update test/test.termsOfUse.js to add tests for the templateId changes