Include apps needed for tests and doc in small build

Included 'inets' in small build, making it possible to run test
using only a small build.

Included 'erl_docgen', 'xmerl', and 'edoc' in small build, making
it possible to build documentation using only a small build.
Fix port exit
Fix unsafe driver_select() from win32 vanilla/spawn drivers
Fix unsafe accesses to driver data from win32 fd/vanilla/spawn drivers
Fix flush of fd-driver on Windows
Fix erts-5.10 release notes
stdlib: Try fix fluctuating test cases in ets_SUITE

by removing slave node creation and instead create remote pids, ports and refs
synthetically using binary_to_term.

Memory leak checks were sometimes failing due to mutating system ETS tables
caused by slave node communication.
Clean up of documentation of type language

Prompted by noticing that the type language description was a bit vague
in its explanation of the syntax and semantics of bitstring types,
I decided to add this information.  While at it, a general clean up and
rephrasing was performed.  The binary() type is now described as an alias,
as it should be, and a bitstring() type is also described as a built-in
alias.
Add support for printing <<_:_*1>> as bitstring()
Fix type of error Reason on gen_tcp:send/2

When the TCP socket is in passive mode, it is possible that a close
message has not been delivered to the controlling process before
calling send/2. This results in the returning {error, closed} to the
caller, in the same way that recv/2,3 does. This commit adjusts the
type of the error "Reason" to include the atom 'closed'.
Fix problem with hanging event handler

OTP-10634
erts: Use native atomics and fallback spinlock to mutex for VALGRIND

An attempt to speedup valgrind
Change the return value of hipe_bifs:remove_refs_from/1

In order to avoid an ummatched return warning in erts and make the code
more sane, the return value of the bif was changed from [] to 'ok'.
(Probably more hipe_bifs need such changes but they will have to wait.)

While at it, the code of various functions in hipe_unified_loader was
shortened by using lists:foreach/1 instead of explicit recursion.
Fix driver port accesses
Add erl_drv_busy_msgq_limits() to driver API on Windows
Implement erl_drv_consume_timeslice()
test_server: Increase timeout for VALGRIND
odbc: Use erlang:port_info to make sure test cases chooses the correct port
Add an xcomp file for Blue Gene/Q
Update config.guess and config.sub to latest versions