more debugging in map/reduce
Merge branch '2.5' of github.com:ayende/ravendb into RavenDB-2470
more debug logging
new debug endpoint, some additional logging and unit test
Making sure that we aren't interleaving reducing previous document state with the current indexing state.
Merge branch '2.5' of github.com:ayende/ravendb
make smuggler exporting to start for each batch new stream
Merge pull request #1148 from myarichuk/RavenDB-2308

RavenDB-2308
Merge branch '2.5' of github.com:ayende/ravendb
Fixing an issue with patching with a default document.
Merge branch '2.5' of github.com:ayende/ravendb
Fixing logging messages. Added additional logging.
Merge pull request #1163 from arekais/replication-logging-fixes

Fixing logging messages. Added additional logging.
make sure transformer parameters are passed when lucene query created
Merge branch '2.5' of github.com:ayende/ravendb into RavenDB-2502-2.5
fixing broken tests, transferring fix for RavenDB-2509 from 3.0
Merge pull request #1167 from myarichuk/RavenDB-2502-2.5

RavenDB-2502
Solving an issue when restarting with pending transactions still active and failing.
Making sure that LoadDocument / TouchDocument with DTC works properly
RavenDB-2521 ScriptedPatchCommandData ToJson method - Metadata is not serialized