Introduce github_api class
Bit of refactoring, and introduce support for milestones
Documentation tidyups