Fix bugs

* In DocumentCreate $request.spaceName was overridden by somebody during
  the process. Renamed spaceName in targetSpaceName everywhere

* There must be always only a single XWikiRights object. Fixed this
  in ShareWith logic