Bug 868093 - Use a minimal implementation of AMD instead of Almond.js. r=gandalf