Added try-catch block to detect invalid json when a 404 statuscode is returned. Some places do not return json but the exceptionmessage as a string as content. This should fix the problem in #1976
Merge branch 'issue/1976' into develop
Merge branch 'develop' of github.com:Starcounter/Starcounter into Unload
Moved unload to the same position as in another branch.
Unload: Replacing single quote with two single quotes according to SQL standard. Testing. Fixes #1982.
Merge branch 'Unload' of github.com:Starcounter/Starcounter into NewSqlProcessor

Conflicts:
	src/Samples/IndexQueryTest/Program.cs
	src/Starcounter/Mock/Db.cs
	src/Starcounter/Mock/Reload.cs