Deprecate use of addMapLayer in favour of addMapLayers([]) as the former causes some tests to fail under qgis master /2.4