Branch/nodejs 500 error

The 500 error was caused by a condition that happens the first time a session is created on the nodejs server. The global.instances object was being created in the reflector when the websocket connection was created. But, it was being used for some of the admin URLs that needed to know what session to use. The problem was that before the websocket connection is made, an ajax request goes to admin/config to get the drivers needed for the app, so for the first app that connects, it would error out, because global.instances hadn't been created yet.

@bcbarsness @eric79 Can you review this?