Prepare pbrcp for transaction injection
Redesigned pbrcp_register_transaction to be more generic
Code cleanup
Merge pull request #1 from hardening/pbrpc_refactoring

pbrpc refactoring