Improved speed of task creation by making a batching task inserter.
Fixed unit test for getServices which was assuming the service table was clean at startup.