Moved color-string parsing out to altcolor/parse.go

The parsing itself is now done with regular expressions and, and!
allows you to use spaces inside rgb(...)!
Can now set output format.

This is done with a simple global flag, eg. `img --jpeg something`
will output a JPEG not a PNG. It still doesn't preserve exif data
though!