2 0 stable fix api build

One of the failures was actually revealed by the spec cherry-picked from master. the orders_controller in api was not updating line items properly. please read the commit messages for a bit more details

cc @jdutil