Batch 1908 junit

Added unit tests for batch insert - This branch is screwed up. I'm not sure what happened. You should manually merge the unit tests.  Ignore the pom.  The MapExecutionContextDao required  a small change to make the unit tests work. The rest is automatic formatting...