A series of court challenges seek to upend longstanding real estate industry practices that determine the commissions agents receive on the sale of a home — and who foots the bill