VOL-1050 Delay stats collection after connection

Move the state of connectivity and activation to its own file (state)
It handles starting/stopping statistics collection and provides a hook for future actions

Change-Id: If6a7b4015824716ff45781e39f29ca7f06933702
diff --git a/src/stats_collection.cc b/src/stats_collection.cc
index ef922c3..d364384 100644
--- a/src/stats_collection.cc
+++ b/src/stats_collection.cc
@@ -167,6 +167,9 @@
     time_t now;
 
     while(isCollectingStatistics) {
+
+        std::cout << "Collecting statistics" << std::endl;
+
         //Ports statistics
 
         //Uplink ports