Add types for a few more commands.

Add types for getmininginfo, getrawmempool, stop, and settxfee along
with tests.