Merged in tweaks from Drupal module.
Formatting cleanup.
Passing app object containing all shared objects (such as config,
auth, cache, eventAggr) to Backbone objects rather than passing these
individually.  Hopefully that will make it easier to pass additional
shared objects in the future.  I looked into singleton modules for
this but AFAIK this won't work since we can have multiple app
instances per page.