Upgrade to jQuery 1.9.1

Trim the whitespace from the templates before passing to jQuery as 1.9.x is more strict than <=1.8.x.

Use .prop instead of.attr for the checkboxes in the settings applet, for the same reason.
Merge pull request #267 from M2Ys4U/jquery_upgrade

Upgrade to jQuery 1.9.1