MULE-7840: Upgraded junit to 4.11. Changed mockito-all for core. Adjuste...

...d and fixed tests.
Yes, some of the tests here were failing. @marianogonzalez took a look and said they are all wrong and I should delete them.