Fix tests in CI by using local maven repo in target/

 * using clean repo for every build (instead of the
   shraed one in ~/.m2) fixes the failing tests in CI

 * having the local repo in target/ also greatly
   improves the isolation of the tests. They are
   less dependent on the current state of ~/.m2 on
   the particular machine
Fixed a bug in ProcessSubTaskCommand where checking whether a subtask was equal to the current task being processed
- this happens when Task Id was > than a certain number because of a Java AutoBoxing issue.
- see (http://stackoverflow.com/questions/3130311/weird-integer-boxing-in-java).

Now uses .equals() instead of ==.