Cleanup deps

Switched mockito-all dependency to mockito-core.
Upgraded junit to 4.12. This contains some generics fixes.

I will create another pull request for assertj-core.


Note: Do not depend on mockito-all in maven projects. That jar contains all the transitive dependencies inlined - but with the same old package names.