Fixes the test for expression escaping on IE8.

Now trailing white spaces are removed since they are not relevant for content comparison.

Those white spaces were appearing on Internet Explorer 7 & 8 after the template file associated to the test has been reformatted.

Closes #1069
fix #1071 fixing auto-escaping issue in calendar widget

This commit fixes the issue introduced by commit
6584f219fad148129fa6de28cc434e1303405f9d in the calendar
template.
Auto-escaping now takes into account the case insensitivity of modifiers.

Modifiers are all defined with a lower case name in the framework, but the invokation of one of them can be done by specifying a name with any case: this name gets converted to lower case just before retrieving the actual modifier.

This means that users can write the name of the modifiers with any case, and the automatic escaping feature didn't handle that, thinking that escaping was not controlled by the user when the modifier was used with a case different that the hard-coded one.

Closes #1072
fix #1073 Missing datepicker/calendar test case

No test was done by opening the calendar and clicking on a date.
This one checks it
Automatic escaping is now done at the end.

Now if the associated modifier is not present at the end, it is simply added behind the scenes (in a mode where it escapes for all contexts).

This is more consistent, logical, since the final output is ensured to be escaped This is the safest solution. It also greatly simplifies the code.

Tests have been refactored, and additional modifiers have been tested.

Closes #1077
1.5.1
fix 1076 onblur called too often by MAC

onblur custom event is called every time an element inside the MAC is blurred.
Same thing happens for the onfocus custom event.
doc aria.core.JsonValidator.getBean documentation fix

Close #1066