OpenLMIS all integrations

I merged all the PR of openlmis integrations for easy merging into dimagi master branch.

https://github.com/dimagi/commcare-hq/pull/1902
https://github.com/dimagi/commcare-hq/pull/1865
https://github.com/dimagi/commcare-hq/pull/1906
https://github.com/dimagi/commcare-hq/pull/1882