Add support for Backbone 1.1.1's use of AMD

Add support for Backbone 1.1.1 when optimizing with r.js. Does not break support for older versions of Backbone.

Replaces #105