Fix BUILD_VERSION value in non-repo, non-development environment.

When the tarball is unpacked, value set in BUILD_VERSION should default to "0"
(including quotes). Previously, it was setting the value to literal 0, which
was appropriate in the SVN world.
Add version string check in testRelease
Update default 4th version number to be empty string.

Updates version.cpp to check for empty string.
Fix boolean expectation from strcmp.
Revert "Fix boolean expectation from strcmp."

This reverts commit c9a687d927e07aad1eab655ee271e00cb93adbd7.
Fix strcmp comparison, finally.
Update testReleaseHelp to detect expected version string from version_num.h
Fix csh subshell argument escaping...

oye. csh.
Fix csh quote escaping.
Default to "0" for BUILD_VERSION when in developer mode, but not repo.

Suggested by @bradcray to maintain previous behavior.
Merge pull request #556 from thomasvandoren/fix-chpl-version

Propagate --version fix to release/1.10 branch.