Added a couple more simple synthetic decoding tests and refactored so that adding more was easy.
Fixed a bug where the captured image was stretched because it did not
match the expected aspect ratio. Also the image captured was not the same
as the preview causing there to be misalignment between the guides on the
screen and the actual images captured. Changed to crop and do a uniform scale.

Also added a DEBUG flag to comment out debug code.