Refactored intent framework to deal with batches.

There is still work to be done, but for now, submit, withdraw and reroute are working.

Change-Id: Ib94cf8c4be03786cc070f402d1f296f5dfa6588b
diff --git a/core/net/src/test/java/org/onlab/onos/net/intent/impl/PathConstraintCalculationTest.java b/core/net/src/test/java/org/onlab/onos/net/intent/impl/PathConstraintCalculationTest.java
index 3e8e7c1..548ea37 100644
--- a/core/net/src/test/java/org/onlab/onos/net/intent/impl/PathConstraintCalculationTest.java
+++ b/core/net/src/test/java/org/onlab/onos/net/intent/impl/PathConstraintCalculationTest.java
@@ -87,7 +87,7 @@
                                        constraints);
         final PointToPointIntentCompiler compiler = makeCompiler(resourceService);
 
-        return compiler.compile(intent);
+        return compiler.compile(intent, null, null);
     }
 
     /**