Added QR(callback) functionality (#59) to API.

Use the WS.QR(callback) to get the Base64 encoded data from the QR code, along with a format mode from the barcode scanner.