prepare for conditional showing of Upload action tab
Added a control-panel setting that determines if the Upload action is shown.
Additionally, don't show the Upload action if the upload portlet is present in
the current context
proper way to look for currently active portlets