Metadatainfo: Make the popup service toggleable

This transform the existing gaLayerMetadatPopup service into a toggleable service. The service is used in 3 components: catalog, layermanager and search. Wherever the service is called, it toggles the metadata information popup for the given layer.

This addresses #1246