Implement tail for docker logs

Fixes #4330

Here is first attempt. Docs and defaults needs discuss.
Recast to: Passing a negative number, a zero, or a non-integer to `--tail` is invalid and will result in the value being set to `all`. This behavior may be changed in the future.