integrated latest changes from dnet40
migrated to dnet45, using updated mockito version in tests
codebase used to migrate to java8 the production system