Factorized some code into PortalWebPage (still needs to be used in the std portal implementation)
Factorized some code into PortalWebPage (still needs to be used in the std portal implementation)

ucbpi/itop,ucbpi/itop,ucbpi/itop,ucbpi/itop,ucbpi/itop