Adding termination code changes for distribution

* Code changes for terminating the handlers started by
distribution activator.
* More test cases to increase coverage.
* Fixes for checkstyle issues.
* Fixes for sonar issues.

Change-Id: I3299317c83fa643ac1d0ba1105ac1a932c0a83f6
Issue-ID: POLICY-1035
Signed-off-by: ramverma <ram.krishna.verma@ericsson.com>
diff --git a/.gitignore b/.gitignore
index f628051..7368565 100644
--- a/.gitignore
+++ b/.gitignore
@@ -9,3 +9,5 @@
 .metadata/
 /bin/
 .log
+logs
+debug-logs