Tests whether expired/valid link share is still accessible.
Perform expiration date checking before returning share data for token.
Merge pull request #5229 from owncloud/more-link-expiration-stable5

Backport of #4856 to stable5: Fix Sharing "Expiration Date" for Shares of type Link (i.e. Token)