Fixed trailing slash trimming in VaadinPortletService.

Change-Id: Ia9f6230219adfb1fcb29b88ad819e3209770e1fc