add magnifyMode option

Add a 'magnifyMode' option, which lets you zoom based on the image's displayed resolution, rather than the native resolution. https://twitter.com/jacklmoore/status/535455968046624768

I don't totally understand this codebase yet, so I'm sure this isn't the best way to do this, but hopefully it's a helpful start.