Added callback function that allows the portlet hub impl to update portlets whn onpopstate event occurs
Added form element checking in Portlet Hub action() method. Updated documentation accordingly.