refs 8727 move orders, order_has_*, order_lists, payments, use_licenses from enju_trunk