Implement "commits unique to given branch" endpoint

Implements #80.
* [x] Still needs unit tests
* [ ] Needs docs
* [x] Need to add/implement sorting scheme parameter