Move CookiecutterTestCase into tests/__init__.py, and remove its dependency on config.