Merge pull request #4 from Metaswitch/cache_mock

Add a mock cache class for UTing handlers.
Merge remote-tracking branch 'origin/dev' into cache_mock