add method to get list of available components

as mentioned in https://github.com/travis-ci/travis-ci/issues/2301#issuecomment-43052757