added dependencies for mockito and tests for exceptions in entity
Merge branch 'master' of https://github.com/darbour/RelationalLearning

merging after David's updates
Merge branch 'master' of https://github.com/darbour/RelationalLearning
Finished tests for entities, started tests for relationships.