MODE-2260: Fixes navigation using path's segments
Merge pull request #1183 from okulikov/MODE-2260

MODE-2260: Fixes navigation using path's segments
MODE-2258 Fixed the URL encoder/decoder code to handle non reserved, non ASCII characters.