Adding AMD support

[AMD](https://github.com/amdjs/amdjs-api/wiki/AMD) is a module system built for the web. Its most popular implementation is probably [RequireJS](http://www.requirejs.org).
This patch adds AMD support to Airwaves.