Bugfix: list file versions

- moved versions-related functions to utils package
- new `spaceHref` function for listing file versions
- adapts code from #2855 for restoring and downloading file versions
- add parent info to propfind response
- add space info to parent reference

https://github.com/cs3org/reva/pull/5190
