Add test.versions_information(). Fix stray print() call in version.py.
Move imports to top level in test module.
Merge pull request #4615 from kinware/versions-report-2

Add test.versions_information(). Fix stray print() call in version.py.