Add build configuration for unit tests
Added testlib in client.pro
Removed duplicated testlib from client.pro
Only compile test code when building tests.
Added init and cleanup functions for Client tests.
Merge pull request #10 from felet/issue-5/1

Issue 5/1