Replace Grit in Repository

Implement more methods in the Repository class with Rugged instead of
Grit.