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.