Improves stock level check in basket controller
Improves transaction handling in catalog manager
Adds a transaction around inserting the types