Fixing some of the missing documentation entries, add error_code& ec parameter to find_remote_localities API, adding closed tickets to docs
Minor optimizations, making sure return value is moved out of the member while the lock is held
Fixing a possible memory leak
Avoid problems with move semantics
Cleaning terminated threads during idle time
Making test case reliably hang