bug caused by unidecode's bug

close #1986
- remove URL reserved chars after unidecode, because unidecode will produce some URL reserved chars.
Guard against multiple signup events

Fixes #1841
* Added initial flag "no" for submission into Signup View
* Flag set to "yes" if submit button clicked
* Error thrown if flag is "yes", thus no subsequent submission sent to API
* Flag set to "no" if ajax returns with error
Post settings don't render on change

fixes #1908

- each individual update function handles rendering its own item on success or failure, rather than re-rendering the whole group
- also resolved a bug where the published date didn't get reset properly on error
Add body class if update is available

issue #1995
Merge pull request #2035 from ErisDS/issue-1908

Post settings don't render on change
Merge pull request #2049 from javorszky/iss-1841

Guard against multiple signup events
Refactor click handlers on upload button.

closes #2028
- Instead of binding and unbinding the click event, bind the data to the
  outer scope so we can use a standard click handler.
- Use removeProp instead of setting the property to false when enabling.
- Use the `disabled` as value when disabling.
Merge pull request #2042 from mikl/firefox-upload-button-fix
Merge pull request #2036 from xuduo35/0.4-maintenance

bug caused by unidecode's bug
Move styling from some elements from IDs to classes

Closes #1605

* Move styling for `#signup`, `#forgotten`, `#reset`, `#login`, `#usermenu` and `#notifications` to classes

No IDs have been added or removed, so any events shouldn't be affected and it passes all tests.
Merge pull request #2044 from PaulAdamDavis/move-styles
Detect SSL connection whether or not behind a proxy

closes #1836
- adding server.enable('trust proxy') to let connect framework do the work
  of detecting X-Forwarded-Proto header
- replacing explicit checking for the X-Forwarded-Proto header with just
  'req.secure' boolean check
Merge pull request #2047 from gimelfarb/fix-1836-ssl-detection
Fix error page resources loading when forceAdminSSL is true

closes #1837
- moved admin theme static resource service above 'checkSSL', otherwise
  when forceAdminSSL is true it will try to redirect them to HTTPS, and
  error pages will be unstyled
Merge pull request #2048 from gimelfarb/fix-1837-errpages-when-force-admin-ssl
Merge pull request #2054 from ErisDS/issue-1995

Add body class if update is available
Hide extra space taken up by update notification

See #1995
Merge pull request #2055 from JohnONolan/double-scrollbar
Version bump for rc1
Merge branch '0.4-maintenance'