ALLJOYN-1946: Fix daemon crash on Linux when both syslog and stdio output is used at the same time.

Change-Id: I3d2a6046c99489606e18a4e92ca6a745fe38ba5f
ALLJOYN-1946: Fix Android build.

Change-Id: I62b06133978beb24ec1cdb711f4a991ff5a45f8c
Updated Sconscript to include libm.

Latest version of gcc(4.7.3) did implicitly import libm.

Change-Id: I94a971223932639fe1c72e4c113d4e282e29b650
ALLJOYN-1976: Add a function Close() to Stream class.

Change-Id: I37c1a8dea68587b92bbde8413388857a28132a4a
ALLJOYN-1654 Debug levels are inappropriate for some messages

This code would print out "Initialized winsock" although the
information was useful most users don't need to know that
winsock was initialized to used AllJoyn.  Changed it to
a high level debug printf.

Change-Id: I8e896aa113145452f0b435d6470b1a8410998c48
ALLJOYN-2108 Fix race condition related to SetLinkTimeout that caused method calls to timeout.

Change-Id: Ief8338c7154b1719af4b5c7ae1373e246dcd6fa5