Barcode support #74

Fixed receiver leak
Moar tests
May be easier to hardcode the entire json string, and pass the whole thing into createFakeScanIntent.