require-dev addition of doctrine/cache for testing

People who use the Doctrine Adaptor should have Doctrine in their own
composer file, and we shouldn’t make doctrine a dependency for projects
that don’t need it. This is a step in that direction that also allows
us to still test the Doctrine Adaptor.