Fixes #360: Swipe widget - activeClientItem is not updated when
Swipe.show(index) API is used

This fix updates the Swipe to call setActiveClientItem on the operation
handler when the item needs to be shown. The bug could also be
reproduced with a test which was added.

Change-Id: I3fd021c48612f05ba6783d79becf946ddc4e7731
Fixes #348: Sanitize the title text in WebPage.java 

The title of the web page is now encoded using the EncodingUtil of RAP.

Change-Id: I3ba116be491377999c73d39bae78471640be3c81