MDU ENERGY CAPITAL, LLC Senior Notes MASTER SHELF AGREEMENT Dated as of August 9, 2007