More work on bts_xt_client tests, added a few more functions to JSON-RPC API