Require lossless and alpha support for WebP

Testing for lossless WebP should help to avoid false positives when a
browser does not support lossless or alpha WebP.
Merge pull request #212 from kristerkari/fix-webp-test

Require lossless and alpha support for WebP