Reset working directory
Merge pull request #81 from Opifer/cachefix

Reset working directory on DependencyMapper
Create cache key before event is dispatched
Refactor event dispatching
Update dependencies
Ignore composer.lock