Added helper function to cache dependencies and manage the cache.
Tests for cacheDependency
Documentation update and bump version for release.