Update jQuery and jQuery Mobile

Use jQuery 1.9.1 and jQuery Mobile 1.3.0
Use prop instead of attr where appropriate, and trim template whitespace.

Whitespace seems to trip up the latest jQuery, so we trim before creating the template functions.
Handle 404s for survey slug
Merge branch 'offline' into jquery
Fix a typo in the CSS
Get jQM 1.3 to respect the 75% width
Merge pull request #26 from LocalData/jquery

Update JQuery