Container log truncation

Server, API, CLI command to truncate the logs of a container

Fixes #6630

Docker-DCO-1.1-Signed-off-by: Shannon Wynter docker.github@fremnet.net (github: freman)
can you please move that to 1.13 ?