Merge pull request #8 from SneakyMax/fix/amd-module-bower

Added AMD to the supported bower module types.
Fix "Error: Mismatched anonymous define() module" when using r.js (require.js optimizer)