Add the 'visible' parameter into the repository API.

This change exposes the 'visible' field in Repository through the API. This can
be retrieved and updated through the API, and the list URL now has a
show-invisible query parameter which will list all repositories, not just the
visible ones.

Testing done:
Ran unit tests.

Reviewed at https://reviews.reviewboard.org/r/4378/