Replace plus sign with space in files app URL #4932

Some apps create URLs to the files app and encode the spaces of a
directory using plus signs.

This fix ensures that plus signs are properly converted back to spaces
when parsing the URL on the JS side.

Fixes #4932 and https://github.com/owncloud/apps/issues/1376