Add detailed version info for Apps and framework.

Addresses issue #4026. Finds detailed version information for repos
in SVN, git, or git-svn. Auto-generates revision header files for
the apps and framework. Prints framework revision. (Apps can print
their own version info using the generated header.)
Merge pull request #4027 from shanestafford/detailed_version_info_4026

Add detailed version info for Apps and framework.
Merge commit 'f161224f24f622164fb927acc46e9a59f5e0bead'