inveniocfg: do not capture warning in unit tests
- inveniocfg_upgrader does as a special treatment in order to capture warnings and store them in log files. However this behavior confuses certain external modules, such as the xunit plugin in nosetest. Therefore capturing warning is disabled during unit tests execution.