Merge branch 'develop' of https://github.com/Starcounter/Starcounter into bugfix
Intermediate safe.
Intermediate WebSocket changes commit.
Merge branch 'develop' of https://github.com/Starcounter/Starcounter into bugfix
Added all the changes related to new WebSockets API + other merged changes.
Merge branch 'develop' of https://github.com/Starcounter/Starcounter into develop

Conflicts:
	src/Starcounter.Apps.JsonPatch/BuiltInRestHandlers/SqlRestHandler.cs
	src/Starcounter.Bootstrap/Control.cs
	src/Starcounter.Internal/Http/Response.cs
	src/scnetworkgateway/OurSources/gateway.cpp
Removed WS handlers registration from gateway tests.
Fixed a few issues with gateway
Increased the wait interval for WebSocket NodeTest.
Added some additional checks in WebSocket node test.
Added comments on Handle.Socket*