ILSGateway product stock migration and first reports

@czue PR contains migration of some small part of stock data from ILSGateway. Some logic is directly moved from ILS.
Now it's ok https://github.com/dimagi/commcare-hq/pull/4601/files#diff-c38fa7a0ccb68dea7554cfa81582801bR3