Move location of default ``astropy.cfg`` file to root of source tree (rather than in config), and make it possible for affiliated packages to generate configuration files too.
Fixed path to astropy.cfg in .gitignore
Merge pull request #688 from astrofrog/config/fix-config-file-affiliated

Fix generate_default_config to work with affiliated packages