Fixed findings from code-review.

 - wrapped lines longer than 80 characters
 - cleaned up zone_index parsing
 - fixed wrong spacing
 - moved #ifdef from test-list to the test file/method
 - added forgotten call to uv_free_interface_addresses