updated utils to handle regtest, simnet

I found showblock useful but saw that it doesn't support simnet, so I've added support for regtest and simnet. Also updated other utils while I was at it.