Make narrowWideReferences its own pass.
Dereference widenMap at the call site.
Update compilerPerformance.perfkeys with new pass.
Check for grepstdchdrs script before calling it.

It is possible that CHPL_DEVELOPER is defined in a release tarball environment,
which does not have util/devel/grepstdchdrs script.
Merge branch 'master' into makeNarrowWideRefsItsOwnPass
Merge branch 'makeNarrowWideRefsItsOwnPass' of https://github.com/hildeth/chapel into makeNarrowWideRefsItsOwnPass
Move the standard C header check to smokeTest.

Previously this check was a compiler make target. Now that smoke test exists it
is more appropriately placed there.

Suggested by @bradcray.

Conflicts:
	compiler/Makefile
Update BUILD_VERSION target to always build.

This behavior was implicit when BUILD_VERSION depended on CheckStandardCHeaders
target. Now that target is gone, the FORCE target is added as a dependency to
ensure BUILD_VERSION is always created/updated.
Merge branch 'master' of github.com:chapel-lang/chapel into fix-check-for-c-std-headers
Fix whitespace.
Post-review cleanup.

Move the assert the type symbols do not appear in the defMap to the caller and reactivate.
Zero out wideInfoMap and widenMap pointers after they have been deleted.
Add blank line below printchplenv in smokeTest.
Merge branch 'master' of github.com:chapel-lang/chapel into fix-check-for-c-std-headers
Merge pull request #354 from hildeth/makeNarrowWideRefsItsOwnPass

Make narrowWideReferences its own pass...

... and factor the main routine.

Making narrowWideReferences() its own pass was straightforward: It included adding the top-level hooks, and removing its invocation from the tail of insertWideReferences(). Since moveAddressSourcesToTemp() used to be called after the call to narrowWideReferences(), I moved that invocation into narrowWideReferences(), and moved the (static) function into narrowWideReferences.cpp.

While there, it seemed natural to factor the main routine for narrowWideReferences(). I merely chunked up the main blocks of code and pulled them out as (filescope) static functions. I was able to reduce the scope and lifetime of widenMap, defMap and useMap by declaring them inside the main routine and then passing references into those helper functions the need to access them. I left wideRefMap as a filescope variable, for convenience, but reduced its lifetime to one invocation of that pass.

This commit should be considered a short-term expedient.  Vass and I discussed, and I have entered a Pivotal story, for factoring logging out of the driver and into a callable interface -- as a better way to support logging at a finer granularity.
Remove files used for testing on macchapel-mac.

We are (finally) retiring this old mac system. Remove the scripts used for
testing (machine.macchapel-mac and preexec-for-old-macs) and remove the special
logic in smokeTest.
Merge pull request #551 from thomasvandoren/fix-check-for-c-std-headers

Move standard C header check to smoke test.

Previously this check was a compiler make target. Now that smoke test exists it
is more appropriately placed there.

Suggested by @bradcray.
Merge pull request #561 from thomasvandoren/rm-macchapel-mac

Remove files used for testing on macchapel-mac.

We are retiring this old mac system. Remove the scripts used for
testing (machine.macchapel-mac and preexec-for-old-macs) and remove the special
logic in smokeTest.
Merge branch 'master' of github.com:chapel-lang/chapel into fix-test-release
Update version.cpp to correctly check for default BUILD_VERSION.

I went back and forth on whether the default for BUILD_VERSION should be empty
string or string with 0 in it. Ultimately, the latter was chosen, but I forgot
to update the strcmp in version.cpp. That is now fixed.