Fixed trailing slash trimming in VaadinPortletService.

Change-Id: Ia9f6230219adfb1fcb29b88ad819e3209770e1fc
Merge commit '49973354b22e8aba9cc71f83571020b0414c54e0'

Conflicts:
	shared/ivy.xml

Change-Id: I2aa7cc35953fdc7441d1a5b15a7bf0a34a97db7f