added outputmode() support to export(mode=…)

- updated Color & Gradient to postpone mode choice until drawtime
- `mode` arg defaults to RGB (or any prior outputmode call) but can be
set to CMYK. the context’s output mode will be reset when the export is
complete