Add hamcrest-core ahead of junit-4.10

Apparently there is a classpath ordering issue with junit-4 where
it is using the bundled hamcrest, instead of the dependency
Add implementation for BranchModelService