change PaidCourseRegistration.contained_in_order

now handles cases where the order has both a PaidCourseRegistration
and a CertificateItem
Merge pull request #5012 from edx/jbau/fix-contained-in-order

change PaidCourseRegistration.contained_in_order