CLOUDSTACK-1267: Configure log4j in proper place so that it can be initialized correctly in KVM and system VM environment
CLOUDSTACK-1624: Initialize configuration variables properly to avoid influence of any racing conditions