Some changes in otapi/OpenTransactions for stricter typing on int32_t/int64_t
preparing for merge with Eric's latest and addition of new test functions