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)
yes, maybe @vieux could comment if he would welcome better error message for missing parameter if it should stay consistent with the rest of the file.