Fix with livestatus

Finally !

+ Main fix was ofcourse to mock_livestatus_handle_request()
+ Subsidiary fix was to make sure mongod daemon was completely started (listen port open) before beginning the tests (otherwise connection error to mongo daemon).