Merge branch 'master' of https://github.com/ayende/ravendb into RavenDB-1498
RavenDB-1498: solved issues with newlines inside newline-mode json and another issue with chained newlines
improved performance of grid working with big amount of big documents
RavenDB-1498: added dialog for toggling newline mode for documents bigger then 150k
Merge branch 'master' of https://github.com/ayende/ravendb into RavenDB-1498

Conflicts:
	Raven.Studio.Html5/App/viewmodels/editDocument.ts
RavenDB-2274: added second attempt to get last received etag from server
Merge branch 'RavenDB-2274' of https://github.com/maximburyak/ravendb
Better logging, formatting code