changed fragment encoding logic to preserve embedded #
Merge branch 'dev' of https://github.com/thinktecture/Thinktecture.IdentityServer.v3 into dev