Fixed storedCounter and some misc. formatting.
Added testing support for core-test.
Removed uneeded OSGI imports.
Added support for mongoDB core-tests.