Fix and upgrade dependencies

- Upgrade JUnit to version 4.11
- Include Hamcrest version 1.3
- Remove duplicated dependency on org.osgi.core
- Remove version from org.osgi.core