ARGUS-155 misc housekeeping to streamline unit tests.

1) Refactored depedencies for unit-test-related jars to parent pom.  Added test scope to depedencies.
2) Some projects had test code in main. Fixed that.
3) Mockito-all was appropriate for ant build.  For maven mockito-core is safer.  Made that change.
4) Added a couple of new tests.
5) By default the tests would be executed.  Earlier by default they were skipped.

Signed-off-by: Madhan Neethiraj <madhan@apache.org>