add support for optional `opts` argument to `container.stats()`
add support for optional `opts` argument to `container.stats()`

In addition to adding support for the `opts` to `container.stats()`, the repeated task of dealing with optional `opts` and the tailing `callback` arguments has been factored out into its own helper function `processArgs()` in order to remove some redundancy.

apocas/dockerode