APE: Astropy helpers

Going ahead and creating a PR for this so that I can give this APE a proper number, though the text is nowhere near finished yet.