New methods on stock.move to compute quantities more modular

* Split products_by_location into two methods on Move:
  compute_quantities_query and compute_quantities
* Use new methods to compute quantities in StockMixin._search_quantity()

issue3201
review971002
Remove dependencies on One2Many fields.

issue3555
review2341002