Use trim method from jQuery to be compatible with Selenium.
Downgrade jQuery to run integration tests with Play.

As described here: https://github.com/playframework/Play20/issues/832
Use current language as locale to Sphere.
Use mocked Sphere with integration tests.
Update to SDK 0.37.0.