Merged Chelsea's changes into existing gem format and ensured all tests still pass. Merchant business intelligence and Item.most_revenue(x) are complete with associated tests