Added risky flag to catalog item. Also added method mark_item_risky to PAUSE/ACTIVATE item based on inventory. This method is called at 3 places, update_inventory, reserve_item and reduce_reservation_count. Also written a test case to test its functionality.