Add max thumbnail methods replicating existing functionality.
Switch format from m900l to 900lm for easier casting to int.
Use 900mw for 900 max width instead of 900wm.
Add the logic. Only call thumbnailImage if the thumbnail will be smaller.
Add new methods to the documentation.
Merge remote-tracking branch 'upstream/master' into thumbnail-max-methods
Add new methods to the php resizing functionality.
Add logic to php resize functions.
add private methods for common assertions

Signed-off-by: Joshua Paling <joshua.paling@gmail.com>
honour exif data for jpg thumbnails

Signed-off-by: Joshua Paling <joshua.paling@gmail.com>
Remove files from UploadBehavior::__filesToRemove after unlinking

This prevents the plugin from attempting to delete a file a second time
if an associated media file is deleted before the main model is saved.
Otherwise, the plugin will attempt to unlink the files in
UploadBehavior::__filesToRemove in UploadBehavior::afterDelete() and
then again in UploadBehavior::afterSave().
Merge pull request #175 from BallStateCBER/bugfix-redundant-delete

Remove files from UploadBehavior::__filesToRemove after unlinking
Merge pull request #168 from joshuapaling/feature-honour-exif-data

honour exif data for jpg thumbnails (aka, prevent thumbnails showing up sideways)
Update .travis.yml
Added missing space after commas for PHPCS tests
Properly escape dir field
Merge pull request #181 from Maff-/escape-updateAll

Properly escape dir field
Disable ssl_verify_host. Closes #179
Merge pull request #166 from joshuapaling/dry-unit-tests

add private methods for common assertions
Fix typo in CakeLog call. Closes #151