(1) Subject to the provisions of this Act, the mutual rights and duties of the partners of a firm may be determined by contract between the partners, and such contract may be express or may be implied by a course of dealing. Such contract may be varied by consent of all the partners, and such consent may be express or may be implied by a course ...