Closing element in wrong variable position
Merge pull request #1035 from rixbeck/master

Wrong parameter order in ltrim() breaks functionality
[SimpleForms]

- Update config.yml.dist with missing file field and options.
- Fix the uploaded file processing (save path, generating link to file).
- File field can use mime type validator of Symfony (see: http://symfony.com/doc/current/reference/constraints/File.html#mimetypes)
- Add empty_value for choice type (see: http://symfony.com/doc/current/reference/forms/types/choice.html#empty-value)
- Add maxlength attribute for text fields.
- Submitted choice fields now saves the chosen label, not the safely converted value.
[SimpleForms]

- Fix choice field value-label conversion.
Merge pull request #1036 from GawainLynch/hotfix/RateIt

[RateIt] Closing element in wrong variable position
Merge pull request #1040 from ntomka/simple_forms

Added some code to simple forms extension
Embarrassing oversight on extension URI path
Merge pull request #1042 from GawainLynch/hotfix/paths

Embarrassing oversight on extension URI path
rather trim()
Security fix: HTML-encode translation parameters
Fixed an XSS vuln in backend

Content type names are strings, not HTML, and should never be output
unencoded.
Another XSS leak fixed.
Fixed: was html-encoding the wrong argument.

I, too, need more coffee.
Fixed: XSS in content edit title
Externalise some JS so it can be cached
Insert JS very late to better cope if jQuery has been pushed down
Merge pull request #1039 from rixbeck/master

theme config file can't be reached if theme_path doesn't begins with '/'...
Merge pull request #1051 from GawainLynch/feature/RateIt

[RateIt] JS cleanup/improvement
Updating Font Awesome to 3.2.1 _WITH_ support for IE8.
Don't attempt to redirect after login, when coming from "logout".

Additional fix for @SilverClash’s change.