Add AMD support using the Backbone method.

As requested in #7, this pull request adds AMD support using the same method as Backbone itself.

It would be great to get this in, since shimming non-AMD libraries that have AMD requirements with RequireJS can get a little hairy.