added a unit test for the daemon, testing up-down-up behaviour
added unittest for linkmanager, testing double initialization
fixed LinkManager to support double initialization
clear list of components on shutdown

This fixes issues when start/stop the daemon more than once.
daemon: Strip security related defines in Configuration