8.0 purchase line hooks

With these hooks, modules like _purchase_discount_ (https://github.com/OCA/purchase-workflow/tree/master/purchase_discount) don't have to make dirty patches to extend functionality, and also other possibilities, like 3x2 offers, can be made in a clean way.