support tight_bbox for pgf output, fixes #2342

EDIT:

Instead of modifying `tight_bbox`, I added support for the `dryrun` kwarg used by tight_bbox to announce the dummy draw procedure. Saving figures with `bbox_inches='tight'` now works for pgf files as well (fixes #2342).