Logic and basic UI flow for two factor authentication

* Identifies 2FA challenges and shows appropriate UI.
* Actual 2FA attempts do not work, as POST requests not proxied correctly
  through to tdapi. Will track this through issue #14.