Add a `package_dir` option to the `setup_package` API

This is a better way to solve #2389 that doesn't require copying files around the source tree.

Unfortunately for @embray, I think this is requires an update to the astropy setup helpers.