Revert "Issue #521 - public shares and disappearing favorites"

This reverts commit 39e2053dae8e6865d37da8951e5826744fe56b4d.
Issue #521 - public shares and disappearing favorites

In the fix for #492 it seems that `?format=version_info` is not available when the file has only the one version

Changed it to get the JSON for the folder and find the file's data inside. Not as pretty, but serviceable.

Fixes #521