Changed trezorlib to session-based. Changes also affect trezorctl, python tools, and tests.