Extend return object to set own layerTypes

e.g. 
leafletLayerHelpers.setLayerType('geojson', {
mustHaveUrl: false,
              createLayer: function (params) {
                console.log(params);
                  return L.geoJson(params.data, params.options)
              }

});