Fixes ambigous stock_item_or_create method to accept either argument. Fixes #5687
Add deprecation warning.
Fixes #5693