reworked image detection and clean up
Regenerate gemspec for version 0.7.16