EXHIBIT 10.5 INTERCREDITOR, SECURITY AND COLLATERAL AGENCY AGREEMENT Dated as of October 28, 2004