Add setup.cfg with pytest filterwarning that errors on all warnings.
Only selected warnings are ignored. This will ensure that problems are detected early, e.g. deprecation warnings. E.g. the deprecation of clobber
in astropy would have been detected 4 years ago.
Also fixes bad escapes because those warnings were just as easy to fix as to ignore.