Changed kiro-server to use a Main Loop model for event handling
Added a Main Loop model to kiro-client
Added kiro_client_disconnect function
Added missing memory cleanup to kiro server and client upon shutdown
Merge branch 'master' into eventLoops
Merge branch 'master' into eventLoops
Changed a missed occurance of malloc to g_try_malloc
Merge pull request #12 from ufo-kit/eventLoops

Fix #3: Changed threading model from pthreads to g_threads
Changed server and client to use a main loop approach for event handling