Use Rugged instead of accessing the filesystem directly
Add empty refs folder
Implement diff using Rugged :)
Merge pull request #5 from vmg/vmg/rugged

Use Rugged for repository access