Added WITH_LIBRARY_VERSIONING, allowing to build shared libraries without
SOVERSION information. (required by Android)
Now usin ON/OFF to set library versioning.
Merge pull request #1823 from akallabeth/cmake-library-noversion

Build library without SOVERSION
Added internal thread list to allow setting a event, when a thread
is ready to join. This way WaitForMultipleObjects is able to wait
for thread events and the portability problems with pthread_timed_join_np
are gone.
Replaced libfreerdp functions returning file descriptors with versions
returning event handles.
Fixed type, now setting event on ExitThread.
Moved async update thread from client to library.
Now closing thread handle before exit.
Update thread moved to library.
Now using WaitForMultipleObjects blocking for main loop.
Updated android client, using WaitForMultipleObjects now in main loop.
Removed update thread, provided by library now.
Mutex trylock now using maximum time difference allowed to decrease polling.
Error handling fixes.
Added input queue event handler to wait.
Implemented _GetCurrentThread function.
Added debug messages for not implemented functions.
Updated sample applictaion.
Updated directfb client.
Removed obsolete get_fds functions.
Fixed freerdp_get_event_handles, getting always now.
Fixed freerdp_get_event_handles, always getting now.
Fixed handle leak.
Updated windows client.