Html5 app work

Finished off the client bits to show the data retrieved as a qr code.

There are still cleanup issues, and testing to see if things work with high fidelity. But this is _functionally_ complete.
I think the way we specify them might be, but without it the code won't (shouldn't) run on android (android requires 1.6 compat).