partial image export

close #3870

This PR introduces the `--exclude` option in  `docker save` (and in the underlying API) to exclude the given layers from the created archive.

 Note : I used --exclude instead of --have (as I suggested in #3870) because it is clearer in the documentation and consistent with the meaning of --exclude in archiving utilities like `tar`