Improve performance of name_list.

Do some performance improvement for name_list:  Cache decoding of
name_update transactions in the CWalletTx class (in memory only) and use
the name index to find out about a tx's height instead of loading the
block header.