Apply config files in tools/package/config when running locally

Loading config from file is discouraged in deployment.
However, it is very useful when developing/testing locally.
This patch will copy JSON files under tools/package/config to local ONOS directory when running 'onos-buck run onos-local'
The tarball generated by 'buck build onos' will remain intact, so as the Docker image

Change-Id: I047bfac39772e32e67e522dc2bea38720426c4e6
diff --git a/tools/package/onos-run-karaf b/tools/package/onos-run-karaf
index 3f369a3..b957214 100755
--- a/tools/package/onos-run-karaf
+++ b/tools/package/onos-run-karaf
@@ -64,6 +64,9 @@
     }
 EOF
 
+    # Copy config files
+    find $ONOS_ROOT/tools/package/config -maxdepth 1 -name \*.json -exec cp {} $ONOS_HOME/config/ \;
+
 else
     # Otherwise, run using the previous installation
     echo "Running previous installation..."