Support for WebP image format

This pull request is a copy of #966, updated to work against the current `develop` branch.
Adding support for Google's WebP image format. See discussion at http://getmoai.com/forums/reducing-app-size-t2782/