Add toaddress argument to name_firstupdate.

Add a new optional toaddress argument for name_firstupdate.  This allows
sending of names directly to an explicit address, rather than only to
one taken from the key pool.
Change namecoin to huntercoin.
Show input amounts and fees in TxToJSON.

In TxToJSON (decoderawtransaction / getrawtransaction), show input
amounts of transactions as well as fees for better checking of
correctness.
Decode name operations in TxToJSON.

Decode name operations in TxToJSON for better results in
decoderawtransaction and friends.
Handle pay-to-pubkey in ExtractDestination.

Handle OP_PUBKEY also (and not just OP_PUBKEYHASH) in
ExtractDestination, so that those transactions are decoded correctly.
Remove superfluous check.

Remove a superfluous check in transaction checking.  Right below the
removed check for "value in >= value out" there is the check "fee >= 0",
which is equivalent.
Implement name_update in createrawtransaction.

Add support for name_update operations in the createrawtransaction RPC
call with a new, optional third argument.
Rename Namecoin to Huntercoin.
Fix name_firstupdate wiht address.

Remove the huntercoin-introduced rule that name_firstupdate sends the
coin to the same address that name_new sent it too.  While it makes
sense to do this for name_update's, it seems unnecessary for
name_firstupdate.  This fixes name_firstupdate with a specified address
as a by-product.
Merge pull request #36 from domob1812/rpc-extensions

Extensions to some RPC commands from Namecoin
Create README.md
Add script to run namecoin in valgrind.

Add a small shell script to run namecoind in valgrind with memory leak
checks and output tee'd to a log file.
Update runValgrind for huntercoin.
Free nodes in disconnected queue on shutdown.

On shut down of the node, free CNode objects that are waiting in the
"disconnected" queue.  This prevents them being mentioned as "definitely
lost" in valgrind reports.
Rewrite cleanup with RAII.

Rewrite the goto shutdown hack by using the destructor of a local class
to make the code cleaner.
Use new class CNodeList to free nodes on exit.

Use a new "public" class CNodeList to hold lists of CNode* and to free
them on program shutdown.
Convert mapBlockIndex to class with RAII.

Store mapBlockIndex global map into custom class that frees the memory
on program shutdown using RAII.  This prevents false positives in memory
leak checks and is cleaner.

Conflicts:
	src/main.cpp
	src/main.h
Fix merge.
Allow parameters to runValgrind.sh.