docker commit --change support

Replaces #8332 fixing an issue with returning a hard error when there is an invalid command for commit.


Which part?