CDAP-538: Removed unnecessary method from service; Added test for PurchaseHistoryService; Moved handler into the PurchaseHistoryService class.