Cleanup
Improve count subcommand

* Allow getting document count of an entire index
* Allow getting document count of an entire node
Improve nodes subcommand

* Use cat API by default
* Allow getting optional detailed information
Fix a few zsh completion issues
Add allocation subcommand
Add master subcommand
Add plugins subcommand
Add shards subcommand
Make bash completion a bit easier to modify