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

This patch adds an entry point for version.versions_information() in the test module.
Also removes a stray print() left behind in the version.versions_report().