Small improvements related to CAmount

```if (info.amount != 0)``` is more readable than ```if (info.amount)```. Also if CAmount was a class instead of a typedef, the conditional operator cannot be overloaded.
The wallet should be using CAmount instead of int64_t.