EXHIBIT 10.17 REGISTRATION RIGHTS AGREEMENT