SPAN API: Fix various errors making SPAN break make tests.

- s/l2/span in span_api.c in foreach macro
- Not installing .json from Makefile.am

Change-Id: I2469fe01138d62e044b8262cdb5a6e3b009bb43e
Signed-off-by: Ole Troan <ot@cisco.com>
diff --git a/test/vpp_papi_provider.py b/test/vpp_papi_provider.py
index 8acfcaa..cd4601e 100644
--- a/test/vpp_papi_provider.py
+++ b/test/vpp_papi_provider.py
@@ -527,7 +527,7 @@
         )
 
     def sw_interface_span_enable_disable(
-            self, sw_if_index_from, sw_if_index_to, enable=1):
+            self, sw_if_index_from, sw_if_index_to, state=1):
         """
 
         :param sw_if_index_from:
@@ -538,7 +538,7 @@
         return self.api(self.papi.sw_interface_span_enable_disable,
                         { 'sw_if_index_from' : sw_if_index_from,
                           'sw_if_index_to' : sw_if_index_to,
-                          'enable' : enable })
+                          'state' : state })
 
     def gre_tunnel_add_del(self,
                            src_address,