Add option to limit max size of zoomed image

If the "big" image is taller/wider than the viewport, ugly scollbars appear.
Let's limit the size of the zoomed-in image.

And, as a bonus, I fixed (intentation normalization, jshint-related fixes, ...) the fancyzoom.js file.