Add ping and version commands

Thought it would be handy to be able to ping the server, and print the version of the server you are working with.

Had to move a few things around in `influxdb-cli`, so the diff isn't as clean as I'd like, but it basically just changed some nesting.