update optimize-pdf script

* add summary
* add note about preserving PDF page labels
* use gs from GS environment variable if present
* quote paths