ocCore: add {OPEN,CLOSE}_NAMESPACE macros and finish common move

Signed-off-by: Constantin Runge <uroc327@cssbook.de>
ocCore: add common/singleton

Signed-off-by: Constantin Runge <uroc327@cssbook.de>
ocCore: event: add event handling sekeleton

Signed-off-by: Constantin Runge <uroc327@cssbook.de>
ocCore: add container skeleton

Signed-off-by: Constantin Runge <uroc327@cssbook.de>