Bugfix/816 amd bluebird dep

Resolves #816 

Define `bluebird` as an external dependency, update build process to exclude bluebird from AMD builds, added `doc/amd.md` with a basic overview of use.

Ready for review.