added get_available_versions

This PR adds method to consumer so that I can query for available versions of a particular object.