Rename proposed RPC call to "getchaintips".

Rename the proposed RPC call "getchains" to "getchaintips", as suggested
in the Github pull-request discussion.
Clean up getchaintips RPC call.

Clean up the code for "getchaintips" and extend the help string, in
accordance with discussion in the Github pull request.