fix #3789
Merge branch 'master' of github.com:JuliaLang/julia
faster digit printing for large bases; simplify the base function.
rand methods for small integer types (Int8, Uint8, Int16, Uint16).
UUID type: generate version 4 UUIDs and stringify them.
Merge branch 'master' of github.com:JuliaLang/julia
Add profile.c to src/ and build it.

This keeps the Julia code in a package, until Windows support is ready.
Added ByteOrder type for reading integers, floats, complex, arrays, and bitarrays
add additional tests for scalars and floats
Merge pull request #3633 from simonbyrne/byteorder

RFC: ByteOrder types for io
DLLEXPORTs for the profiler
Fix #3804, #3808
Also add rand(Float64, ...) and rand(Float32, ...)
Add additional like_pipe method for #3823
Add TTY(RawFD) for non-STDIO tty's

Also add the necessary c functions to extract the FD/Handle from a pipe object. These aren't used anywhere, but will be helpful for #3823
Added HeapSort

* Also minor updates to percolate_up, percolate_down, PriorityQueue
fix for 5975d2369d87aeae9d910ccaae82844eb951e915
fix crash in gc due to uninitialized memory in connect
inline the Union function
Partially revert "Add TTY(RawFD) for non-STDIO tty's"

This reverts the unrelated parts of commit
da00fa4d4867bfacc61b176f8a173393c251f283, which are broken on windows and
probably a generally bad idea on unix.
Merge pull request #3824 from kmsquire/heapsort

RFC: HeapSort