Pulling in scale factor code to have variable sized images.

The QR images are can now be created with a scale factor. So if you need
an image to cover the whole screen on an iPhone for example, increasing
the scale factor will provide a larger image.