[#45803283] Trim attribute names and other strings at save

MySql since 5.0.3 preserves trailing spaces for varchar columns
[#37174887] Moved jquery onto server for https

The code.jquery.com CDN does not support HTTPS