[build,src,doc] Modify get_version.sh to deal better with whitespace (avoid space in version); minor fixes (#1526)