TransactionSign unit test beginnings [RIPD-480]

 - Added two more member functions to the mock to deal with global
   accesses by functions in TransactionSign.

 - Added unit test infrastructure and three unit tests with valid
   JSON.

Committing this work before adding tests for invalid JSON.