SOS-2326 use LiferayPortletURL
SOS-2325 instance.namespace is null at this moment, move the closePopup() call to jsp since it is called only once.
SOS-2325 SF
LPS-47682 update Language & UnicodeLanguage references
LPS-47682 update ResourceActionsUtil references
LPS-47682 Fix compilation problem