REGISTRATION RIGHTS AGREEMENT by and among ATLAS RESOURCE PARTNERS, L.P. and ATLAS ENERGY, L.P.