Support `--filter mode=global|replicated` for `docker service ls`
Support `--filter mode=global|replicated` for `docker service ls`

This fix tries to address the request in 31325 by adding
`--filter mode=global|replicated` to `docker service ls`.

As `docker service ls` has a `MODE` column by default, it is natural
to support `--filter mode=global|replicated` for `docker service ls`.

There are multiple ways to address the issue. One way is to pass
the filter of mode to SwarmKit, another way is to process the filter
of mode in the daemon.

This fix process the filter in the daemon.

Related docs has been updated.

An integration test has been added.

This fix fixes 31325.

Signed-off-by: Yong Tang <765086fe2e0c1f980161f127fec596800f327f62@outlook.com>

riyazdf/cli,allencloud/cli,ashfall/cli,redpanda/cli,docker/cli,dnephin/cli,allencloud/cli,cpuguy83/cli,dnephin/cli,docker/cli,redpanda/cli,Zebrilee/cli,e11137/cli,cpuguy83/cli,e11137/cli,thaJeztah/cli,thaJeztah/cli,ashfall/cli,riyazdf/cli,Zebrilee/cli