Adding logic for active unlock to grant trust

Contains the logic that will take a phone from trustable to trusted,
from trusted back to trustable, and from trustable to untrusted for the
new active unlock feature.

Test: prototyping
Bug: 213631675
Change-Id: Ia9345718b1e5e7f5cc71a668c22751c2cf969677
3 files changed