Fixed bug reported by mugen and endlesscustoms which was causing account balances to be reported incorrectly or not at all.
Apply 'move' command fix, cherry picked from Bitcoin 0.7.2. Original commit:

https://github.com/sipa/bitcoin/commit/4291e8feab308cb9c7840d74fc7aacf137a7c21f