adjust the expected time out for ManagedConnectionsFuncTest tests
adjust time_out further
Removes unused variables
Removes explicit timeout inside Transport::ConnectToBootstrapEndpoint

As it is a property of the Connection::Connect operation
More constructors for EndpointPair

Also changes formatting in BEH_API_GetAvailableEndpoint
Connection::on_connect_ now called with success if kTemporary

If disconnection observed in Connection::OnHandleTick handler.
Fixes a possible memory leak

When a promise is assigned to in a thread, the thread
which is waiting on the future must wait for the assignment to
finish before the promise is destroyed by leaving the
scope.
Adds few assertions to places which shouldn't happen

Also minor style changes.
Adds lock inside ManagedConnections::StartNewTransport

The idle_transports_ member variable was concurrently accessed
by OnConnection{Added,Lost}Slot.
Replaces std::bind with lambda expression

Debugger shows better information this way
Wrapping Connection 'on_connect' handler to strand again

Also pleases Lint
Fixes invalid write to already destroyed promise in BEH_API_BootstrapTimeout
Merge pull request #40 from inetic/MAID-366-crash-in-parallel-receive-test

Maid 366 crash in parallel receive test
Transport::DetectNatType is now async
Fixes invalid write to already destroyed promise in BEH_API_BootstrapTimeout
Transport::ConnectToBootstrapEndpoint is now async

Moves the blocking mechanism one function upwards to
Transport::TryBootstrapping.
Merge branch 'MAID-168_Define_reasonable_timeouts_for_tests_in_RUDP' of github.com:maqi/MaidSafe-RUDP into MAID-168_Define_reasonable_timeouts_for_tests_in_RUDP
later on rounds still need a reasonable waiting time when the first round got partial completed
Transport::TryBootstrapping is now async

Moves the blocking mechanism one function upwards to
Transport::Bootstrap.
Transport::Bootstrap is now async

Moves the blocking mechanism one function upwards to
ManagedConnections::StartNewTransport. The bootstrapping
procedure inside Transport is now completely async.