Bug 1027707 - Replace the existing module loading facilities in calendar r=millermedeiros

### Change Summary

+ Move default configuration in build into separate json configuration file
+ Only load `main.js` in `index.html`
+ Get rid of lots of app-specific globals from `.jshintrc`
+ Turn all js files (except for `main.js`, `caldav_worker.js`, `test/unit/setup.js`, and some stuff in `ext/`) into amd modules
+ require `alameda.js@0.2.0` in `package.json`
+ No more `LazyLoader`, `LoadConfig`, and `NotAmd`
`self` is like `window` in the worker. This bit in particular signals to the caldav library that we're in the browser (it environment detection by checking for `window`). This was taken from https://github.com/mozilla-b2g/gaia/blob/master/apps/calendar/js/worker/thread.js#L9