#66 SwitchOnConstants is now a standard singleton

In SwitchOnConstants the public field commons was renamed a to instance
and it is now private. An getInstance()-method was introduced and the
xml config is now loaded outside of the constructor.
Merge branch 'feature/66-switchOnConstants-singleton' into dev