Convert classic FF & photo portlets into new portlet types

This allows to hide column if portlet is not available
Also refractor code
This refs affinitic #5785