Add support for token based authentication to J\GitHub

This had been merged in joomla/joomla-platform#1812 but got somehow eaten by the refactoring monster when submitting joomla/joomla-framework#128

Please merge again ;)