Add token fetch code from other libraries. Explain callbacks.

* Copies code from rogerhutchings/img2iss for getting a token
  and accounting for two-factor authentication.
* Setup main() to accept a callback and run with the token
  when received.
* Explain callback setup in README.