Removed dependency on commerce_ss; added three hooks to allow for other modules to control stock.