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