added a static qualifier to ConfigManager::getInstance().

This class is a singleton. So the getter of the instance must be
static.
added new methods to set boolean value.
added methods to JsonBuilderAgent for adding an array.