Allow manually specifying image type to avoid Tempfile issues
Fix encoding issue for Ruby > 1.9
Autodetect imagemagick path
Merge pull request #9 from layervault/master

Bug Fixes and Improvements