qrcode is now an instantiable Object

I think such a library needs to be object oriented, meaning that you should be able to instantiate a QrCode instead of using global variables. Here's a merge that does this.