Add TSS error handling.

The TSS specification defines many return codes for the different components of
the TSS: TSP, TCS, TDDL, TPM. In order to adequately handle and log errors in
each subsystem, the following utility functions are needed:
 - Appropriate bits set in the return codes to identify which subsystem
     generated the error.
 - Conversion from numeric return codes to human-readable messages for logging
     purposes.

Some additional macros have been added to the TSS header files that were
present in the specification, but not the header files.

BUG=chromium:254742
TEST=Compiles successfully and passes unit tests.

Change-Id: Ie59237d9748c34b914dddc22594b418389491e23
Reviewed-on: https://gerrit.chromium.org/gerrit/63304
Commit-Queue: Sarah Harvey <saharvey@chromium.org>
Reviewed-by: Sarah Harvey <saharvey@chromium.org>
Tested-by: Sarah Harvey <saharvey@chromium.org>
8 files changed