Implement name_history.

Implement the name_history RPC command for Namecoin.