Extract out version info function.
Extract out version info function.

The code for displaying version info and configuration info seemed to be
cluttering up the main function. I was finding it hard to read main. This
extracts out all of the logic for displaying version and configuration info
into its own function, thus making main easier to read.

hy0kl/nginx,hy0kl/nginx,hy0kl/nginx