Add webp detection.
Merge pull request #1 from mapbox/webp

Add webp detection.