Make version_git.sh work on older versions of git.

The --count option to git-rev-list was introduced in git version 1.7.x
for 1 < x < 12. When base/version_git.sh is run on versions of git
without this option, a long help message is generated (cluttering up
make output) and generating an incorrect base/version_git.jl.
version_git.sh: cope with wcs that emit whitespace.

Some versions of wc (notably the one supplied by OS X) prepend
whitespace to the output of `wc -l`, breaking the indentation of the
generated version_git.jl. We strip this using only tr(1) features
specified in
http://pubs.opengroup.org/onlinepubs/9699919799/utilities/tr.html.
Replace calls to tr with calls to sed

We're already using sed elsewhere in the script.
add conversions from float to BigInt. ref #6183
Merge pull request #6066 from pozorvlak/old_git

Make version_git.sh work on older versions of git.
Merge branch 'master' of github.com:JuliaLang/julia
Avoid SharedArray failures if IP changes

Fix #6171
fix #6175

bug in marking return type of void calls
Use debug flisp/support in debug julia. Part of #5774
Yet more LLVM header renames
ensure task state gets reset in wait() in exception cases

I believe this can only happen on an InterruptException, but might as
well make sure any running task is not in the :waiting state.
rename read to read! where a passed array is modified. fixes #5970
remove 0.1 deprecated aliases
reorder sysimg to fix #5885
fix return type of BigInt conversions to Clong and Culong. should fix #6196
Pkg.clone: allow leading [^\/] for auto package name detection.

Closes #6141 and #6152.
replace some ? with ifelse

add hex(::Char, ...) so Char doesn't need abs()

add conversions from Char to both Signed and Unsigned
Merge branch 'master' of github.com:JuliaLang/julia