Update from package template

Gammapy should be updated by merging in the `package-template` `master` branch as described here: https://github.com/astropy/package-template/issues/23

This might be complicated because I've copy & pasted changes and files over by hand in the past.