updated transaction json code

- include all possible types of confidence
- throw exceptions instead of hiding them
added method to return estimated (unconfirmed) balance
added wallet debugging info method