trunks: Refactored TpmState.

Also fixed seccomp rules and unit tests.

BUG=23525508
TEST=Run unit and manual tests on brillo emulator.

Change-Id: I2b8a0993d03e4b23f10b3d218ceb8d7d5e603952
15 files changed