issue 1259 fix
Merge branch '2.5' of https://github.com/myarichuk/ravendb into 2.5
ReplicationBehavior fixes:

- throw TimeoutException if needed
- use countDown.Error() instead of countDown.Signal() if error occurred to make sure that AggregateException with errors  will be thrown when needed
Merge branch 'replication-behavior-fixes-2.5' of https://github.com/arekais/ravendb into 2.5
Fixing bad index merging