Support cocaine-framework-native 0.10.6.0 and bug fix

Added wait_timeout and group_info_update_period parameters into constructor
Uses host name instead of ip to connect to application
Fixed name of event `get_group_weight`
Mastermind join update_cache_thread before will be destroyed