This pr is supposed to speed up listunspent/getbalance calls.
It introduces a vector vWallet, which contains pointers to wallet transactions. Only transactions which potentially contain unspent outputs are added to the vector.
A transaction is only added to the vector if it has at least one output that is ours, and the output is either unspent, or spent but the spending tx has less than 100 confirmations.