[entropy.server] extended_dependencies_test: add disk caching

The test phase is called frequently in both commit and push phases.
However, between commit and push there are no changes to the repository
database content and caching out this test greatly improves speed.