Add support for docker run -it or docker images -qa

Please test this carefully!

This enables support for flag grouping.

How does it works ? 

When running `docker -it ...` the flag `it` will return an error, but instead of failing, it'll try `i` and if it's ok, try `t`.