Utility method to remove the Byte Order Mark (BOM). Backport of commit d46879360f3b92855c2d56e47da1f2a82473b43d
bug 439225: Swing: View layout initial size of detail form
https://bugs.eclipse.org/bugs/show_bug.cgi?id=439225

Backported from 9c682ce9adb04c68dae597d654ccf99ce2143a61
441577: RAP: Calendar is not readable when entry's text is too long

https://bugs.eclipse.org/bugs/show_bug.cgi?id=441577

Introduce a clipRect to clip off the text. Backport of commit dff8ef7622bf7c356fba18dbfe3c61d411679948
Bug 444427 - JVM Fatal Crash because of IE Patch KB2977629:

Fix to solve the problem in Swing UI, that after disposing the browser
widget, some browser-events still might be consumed by the SWT event
dispatcher which caused the JVM to crash (consequence of KB2977629). To
bypass the Fatal error, the Display is disposed instead of the browser
widget. Thereto a browser field must have its dedicated Display.

Rev: Andre Wegmüller
Bug 448575: RAP [mobile/tablet]: Wrong thread when creating pile-menu entries.
https://bugs.eclipse.org/bugs/show_bug.cgi?id=448575

Moved the creation of the pile-menu into Scout model thread.

--
Reviewed-by: Claudio Guglielmo <claudio.guglielmo@bsiag.com>
Bug 448582: RAP [mobile/tablet]: Wrong owner-form for form-fields contained in tabs.
https://bugs.eclipse.org/bugs/show_bug.cgi?id=448582

Set the original form to be the owner-form to have proper model context.

--
Reviewed-by: Claudio Guglielmo <claudio.guglielmo@bsiag.com>