Add spec tests for GithubApi class.
Fix issue with repo URL path creation.

Thanks spec tests!