Added segments action to _cat API
Currently displays the same information as the _segments API
Remove shard-level info from _cat/segments and add pri/rep and ip address to segments

Also fix typo

Closes #4711