REGISTRATION RIGHTS AGREEMENT by and among ATLAS PIPELINE PARTNERS, L.P. and THE PURCHASERS NAMED HEREIN