OpenLMIS integration bugfixes
Updated response parsing, also some code refactoring
Fixed tests, also fixed case updating in periodic task
Merge pull request #2046 from lwyszomi/openLMIS_commtrack_bugfixes

OpenLMIS integration bugfixes