Feature/oauth

Various small fixes to get GitHub working with OAuth.
Metrics/LineLength: Line is too long. [91/90]