Add class_or_instance class to astroquery/utils

This PR is to add the class_or_instance class to ```astroquery.utils``` as discussed in Issue #110