closing web socket handshake with server
close web sockets before tab unload
Merge branch 'master' of https://github.com/ayende/ravendb into RavenDB-2409

Conflicts:
	Raven.Studio.Html5/App/viewmodels/shell.ts
disconnect from web socket before unloading a tab (close or redirect)
fix for disabling database and disconnecting from changes api for that database
Merge branch 'master' of https://github.com/ayende/ravendb into RavenDB-2409
prevent disconnecting from changes api for disabled databases
Refacotring code, adding logging
Merge branch 'master' of https://github.com/Corvalius/ravendb

Conflicts:
	Raven.Studio.Html5/App/viewmodels/filesystem/synchronizationConflicts.ts
Merge branch 'master' of github.com:ayende/ravendb
Fixing compilation
RavenDB-2459 Ensure no buffering for replication
Merge pull request #1102 from arekais/RavenDB-2459

RavenDB-2459 Ensure no buffering for replication