fixes + prefetchingBehavior debug endpoint
removed $type added in prev pull request according Simon Bartlett request
Merge branch 'RavenDb_2428_2.5' of https://github.com/ReginaBricker/ravendb