Fixed error messages

Removed validation of version
Moved try-finally clause that sets the current session to null to make sure we have a session when jsonpatches are generated.
Merge branch 'session_ended_bug' into develop
Added test for direct looked up. Fixed bug in it by correct offset key condition. Fixes #2393.
Using the response from the app that the request originated from as first response when merging responses.
Merge branch 'issue/1854' into develop
Moved DatabaseAttribute class to the root of the Starcounter project.
Added class Entity2 to Starcounter project as a starting point for reintroducing the Entity class.
Made the new Entity2 class partial and added most of the plumbing code to a new file (Entity2.Implementation). Made sure to hide relevant entries from editors/intellisense and debuggers using predefined custom attributes.
Changed Entity2.OnDelete from abstract to virtual.
Added tests on delimited identifier. Part of #2402.
Merge branch 'develop' of github.com:Starcounter/Starcounter into bug/DelimitedIdentifier2402
Fixed that delimited identifiers with dot are not accepted by prolog path. Fixed reload to follow this requirement. Fixed #2402.
Removed disabled code from the managed parser.
Outlines the bulk of the first version of upcoming Entity class, while most functionality is still not yet implemented.
Added a propotype of new proposed way of using transactions together with typedjson to test new syntax in apps.
Checking for null on injected instance for temporary code for Db.Scope.
Merge branch 'db_scope' into develop
Populating info about indexes for loaded classes. Does not work for auto indexes due to unknown column __id. Part of #2028.
Added column __id to meta-data for user-defined tables. Needed for #2028. Fixed regression tests. Fixed reload to reflect this change. Minor fix.
Removed double quoting for some keywords in test queries.