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.
Made a first rough implementation in staradmin to instantiate CLI templates.
Fixed a few bugs in the CLITemplate class, relating to how paths and file extensions were maintained.
Merge branch 'develop' into feature/cli-templates
Added the most basic CLI template we'll include in the installation to Starcounter.CLI, making sure it is part of the output (and the installer).
Added a reference to Starcounter.CLI from staradmin to be able to utilize things like the shared ConsoleUtil class.
Extended staradmin to support customizing the environment to launch an editor when CLI templates are being instantiated, and made sure a configured editor actually get launched.
Merge branch 'develop' into feature/cli-templates
Merge branch 'feature/cli-templates' into develop. Initial implementation of #1645.
Changed StarcounterEnvironment.AppName from a property to a thread-bound field.
Changed UserHandlerInfo.RunUserDelegates (in Starcounter.Rest) to make sure the thread invoking a user delegate is always bound to the application the given delegate belongs to.
Changed the internal Application.CurrentAssigned implementation to return the application attached to the application name bound on the calling thread, or null if no such application was set.
Rewrote the implementation of Application.Current to correspond to the new way we store and retrieve the application context.
Moved assigning of the current application name out of the DbEnvironment constructor since its not consistent with the application model (it must be possible to have a database environment with no current application).
Assured NewRestTests unit test properly assigned itself as the current application when ran.
Redesigned the Package processing in the code host, principally assuring that the application was bound during the entire bootstrapping sequence no matter how and from where an application was booted.
Merge branch 'issue/1653' into develop. Fixes #1653.
Changed format of generated string for statistics in gateway to standard json.
Updated html and javascript for handling statistics from gateway. The statistics is now returned as json and bound accordingly in the html.