PLAT-6811 - Fix Hamcrest dependencies

 - add explicit test dependency on hamcrest-library and hamcrest-core in the parent pom
 - exclude hamcrest-core from the Mockito dependency