added support for being loaded as an AMD module
Added an example showing how it can be loaded as an AMD module with require.js
Now in beta!