allows for plugins to insert actions for layers in TOC, with QgsLegendInterface::addLegendLayerAction()
implement currentLayer() and setCurrentLayer() in QgsLegendInterface to set/get current layer
fix layerModified signal mapping