Move shared library code for language executables into lib directories.

And add version executable for node.
Add version program for perl.
Add version program for python.
Add version program for ruby.
Integrate version program(s) with the version command.
Remove obsolete logic for parsing a database list.
Do not print newline in python version program.
Add and document the grep command.