Reproducing issue #1616 on query optimizer.
Added test of  workaround in for issue #1616.
Temporary safe for WebSockets.
Merge branch 'develop' of https://github.com/Starcounter/Starcounter into bugfix
Merge branch 'develop' of https://github.com/Starcounter/Starcounter into develop
Revert "Temporary safe for WebSockets."

This reverts commit 5045a75d5882401f121a8face30accf1b386212d.
Fixed plain memory manipulation when multiple chunks.
Bug fix for https://github.com/Starcounter/Starcounter/issues/1621
Added error code ScErrColumnValueUndefined.
Adaption to changes in kernel interface.

https://github.com/Starcounter/Starcounter/issues/1622
Fixed sql query plan.

Removed commented code
Merge branch 'develop' of github.com:Starcounter/Starcounter into develop
Rename error code ScErrColumnValueUndefined to ScErrValueUndefined.
Merge branch 'develop' of https://github.com/Starcounter/Starcounter into develop
Added error code ScErrRecordNotFound.
Replaced Mdb_OIDToETIEx with star_lookup.

https://github.com/Starcounter/Starcounter/issues/1630
Adaption to changes in kernel interface.

https://github.com/Starcounter/Starcounter/issues/1630
Fixed a bug in the code host application loader. The stopwatch used for diagnostic timing was not properly designed for being shared among competing threads. Making it thread static solved #1629.
Merge branch 'issue/1629' into develop. Fixes #1629.
Added the CLITemplate class to the staradmin project, and implemented it's most basic functionality - to be able to find a template by name and if found, instantiate itself for further use.
Added method Instantiate to CLITemplate (in staradmin) allowing templates to be instantiated.