Python: fixed crash on getting address/group_id from result entries. Fixed counters in stat_log_counter.

Minor: Added const to input dnet_addr in dnet_server_convert_dnet_addr since it does not change value of dnet_addr.