Implement the log() method with Rugged

Use Rugged's Walker API to implement the log() method instead of using
Grit.