Prevent division by zero.

See
https://github.com/stomita/ios-imagefile-megapixel/commit/5b2252cc14d412
24682f06c098c1b44fef0258d5
Use the faster bitwise operator instead of Math.floor and parseInt.

See
https://github.com/stomita/ios-imagefile-megapixel/commit/a8a96e47bb25c6
ad59f84a9144a38198ce974cfc
and http://jsperf.com/math-floor-vs-math-round-vs-parseint/33
Update demo jQuery version to 1.9.1.
Fixed image resize algorithm for subsampled JPEGs.

Thanks to Claudio (bytepan) for his patch to the original
ios-imagefile-megapixel library:
https://github.com/bytepan/ios-imagefile-megapixel/commit/f58d6d65c828dd
5741edf30d561220b3de94c42e
Create minified script and update package version.
Update test page jQuery version.
Use Math.ceil instead of bitwise left shift.

Width or height might exceed 2147483648 pixels, which results in
negative numbers when using bitwise shift.
Also, 1px scaled with a factor of less than 1 should still be 1px.
if the file api is not supported & the url is not a string avoid a useless request for [object]
Merge pull request #17 from igorbernstein/extra_ie8_request

Be a little more defensive on types of inputs
Minor JSLint compatibility update for latest merge.
Added crossOrigin option for CORS enabled images. Fixes #19.
Added crossOrigin to the options list.
Multiple errors for non blob files - fixed

fixed multiple error prompts when uploading non blob files
Merge pull request #21 from phoenix303/master

Multiple errors for non blob files - fixed
Fixed last merge.
Return false if file parameter is not a File, Blob or String.
Added crop option to enfore maxWidth & maxHeight constraints.