Patching in AMD compatibility

Adds the ability to use ical.js in the following ways:

- globally (fixes the "exports is undefined" issue when included in HTML)
- as an AMD module
- as a commonJS module (as in a nodejs environment)
Merge pull request #25 from jonlong/amd-compatibility

Patching in AMD compatibility