Support for -o switch to specify output filename

The -o switch specifies output target file name and  disables the
-e and -d options. Makes reusing pngnq in wrapper scripts easier.
Patch taken from thebeansgroup/smush.py@5f09e7f