Add the ability to get repository info.

This will be used to check the canonical name of a distribution to check
for distribution name case clashes.

For #80
Check the repository, with a different case, doesn't already exist.
Merge branch 'issue/80'

For #80
Whoops, need to use the Github clean name to check for existance.

For #80
Check the Github repo is actually created or deleted.

The Github API has a tendency to say a repository is created or deleted but
it isn't.  Add in an explciit check after creating or deleting a repo.