Improved non-IDE build:

- added missing build scripts for Ant;
- created a OSGi-enabled version of JUnit4 in order to make the
  Ant build work again;
- fixed some failing unit tests due to transitive dependencies.
Added proper Eclipse project files.