Add -format to 'docker inspect'

This makes it a lot easier to script with docker instances as one can
ask for details about running instances more easily without having to
have additional JSON processing tools installed.

dotcloud/docker#734
Use inspect format to get IP address for psql example
CLI docs and examples of format
Merge pull request #2921 from dustin/inspect-format

Add -format to 'docker inspect'