Delete unecessary image references after image processing to allow memory release. Closes #2522
Added .jshintrc file and updated JSHint compatibility.
Improved memory handling with image processing + JSHint compatibility updates.
PHP versions below 5.3 throw errors when passing argument to clearstatcache. Fixes #2777
Use option paramName if it is a string. No longer assume it is an array.
Apply option limitMultiFileUploads even when limitMultiFileUploadSize is defined.

Ensure neither limit is exceeded when uploading.
Use Exif Data to check the image type, Do not rely on extention
Merge pull request #2787 from dougdomeny/master

Apply options limitMultiFileUploads AND limitMultiFileUploadSize, check for options.paramName
Merge pull request #2788 from exussum12/exif_imagetype

Use Exif Data to check the image type, Do not rely on extention
Refactored last merge, updated version number, updated tests.
User exif_imagetype (if available) to determine proper file extensions.