Add mockery and phpunit to composer configuration. Add CI configuration.
Refactor cache to 2 level instead of 1