Increase default MAC learn limit and check it in learn-update path

1. Increase default MAC learn limit from 1M to 8M entries.
2. Check MAC learn limit in MAC learning update path.
3. Allow disable of want_l2_macs_events to set MAC learn limit
4. Other minor cleanups

Change-Id: I62438440937b5fa455e16f4a2e4d910277753395
Signed-off-by: John Lo <loj@cisco.com>
diff --git a/src/vnet/l2/l2_api.c b/src/vnet/l2/l2_api.c
index c81cbad..7e79d6f 100644
--- a/src/vnet/l2/l2_api.c
+++ b/src/vnet/l2/l2_api.c
@@ -284,7 +284,10 @@
     {
       lm->client_pid = 0;
       lm->client_index = 0;
-      lm->global_learn_limit = L2LEARN_DEFAULT_LIMIT;
+      if (learn_limit)
+	lm->global_learn_limit = learn_limit;
+      else
+	lm->global_learn_limit = L2LEARN_DEFAULT_LIMIT;
     }
 
 exit: