Slight code cleanup
Now doing a pre-check for Geoserver when trying to prepare a workspace. Not doing so previously was causing issues to be squelched at front-end application load
sendJSONResponse function now checks to see if the response being sent is an error and creates a proper server code for it instead of sending a 200 OK with an error message.
Added an id to the splash-page spinner element so it can be removed if something goes wrong during load
Added functionality to remove the spinner from the splash page in case of severe errors during load
Namespaced the Session object instead of dumping it into global
getWMSCapabilities and getWFSCapabilities now both run success and error callbacks as needed. This especially helps on application load
Added a very small amount of documentation to the config object
Changed application load logic. Previously, there were a bunch of WFS and WMS requests happening at the same time during application load. This worked unless Geoserver happened to be down. Then if Geoserver was down, the application finished loading but was in an unworkable state. Now, I do an initial WFS GetCaps call. If that comes back ok, I load the rest of the application. If it doesn't, I show an error on the splash screen and we stop there.
Merge pull request #879 from isuftin/bugfix

Bugfix