Barcode support #74

Fixed receiver leak
Moar tests
I had that (as you can kinda see with the createFakeScanIntent) , but switched to passing a JSONObject and didn't go back and clean it up. The hardcoded json was a little hard to follow. I'll go back