Small fixes in QubitMetadataRoute

The first change is intended to map a, module if the original param
has not been defined previously, e.g.
->generate(null, array(new QubitInformationObject));

The second change creates an array if only one parameter is passed,
e.g. ->generate(null, $resource);