Universal module definition

Allow the script to be loaded in browser (global qrcode variable), in AMD or node
Merge pull request #11 from piuccio/umd

Universal module definition