Save baseline image used in comparisions for volatile installs

This keeps baseline images when `setup.py test` fails
Fix generating images with setup.py

Requires some ugly monkey patching of AstropyTest
Also fixes typo that prevented distutils from accepting an argument for
generate-images-path