Repo api 9678 dev

Opening a PR on this so that I can get some feedback. 

This branch pushes the repository lookup to the Blitz gateway but maintains using the repository class name as an argument. It drops the description as a return value as it isn't needed. views.py is then refactored to use this method.