Update to latest version of astropy-helpers

The package-template sub-module has been removed, so this should fix issues with affiliated packages installations. Also ports over the latest changes to sphinx extensions (the lack of which was causing issues in #2508).