FACES-1492
Need to use WebKeys.PAGE_TOP instead of duplicate constant LiferayConstants.LIFERAY_SHARED_PAGE_TOP
(changed caught JspException to Exception in order to avoid compile failures in Liferay 5.2.x/6.0.x based branches)
FACES-257
Bridge generates URLs that can be incompatible with Liferay friendly URLs
(fixed JSR 329 test failures regarding PortletMode, WindowState, and ResourceID)