added BTCQRCode API to generate and scan QR codes