refactored PortletState to PortletParameters
Updates for portlet state variant #4
fixed javadoc comment
Updated license & copyright notice