browse/directory: Provide path as query parameter for consistency
Last diff regarding browse URL scheme cleanup.
For consistency with other browse views, deprecate the /browse/directory/(sha1_git)/(path)/
endpoint and add a new one taking path as query parameter.
Depends on !301 (closed).
Migrated from D3067 (view on Phabricator)