Change optipng and jq minimum versions

No need for optipng 0.7 and it's -clobber option. Also the jq version
can be the 1.3 version. Fixed the version checking on jq to handle
stderr or stdout outputs.

Including a `OPTIPNG_OPTIONS` variable for custom optimization levels
and such.