Split up Repository#contents

- [x] Add `Repository#directory_contents`
- [ ] Add `Repository#file_contents`

Closes #311