update .gitignore
update to remove use of deprecated function

replace use of netstatus_get_availability() with netstatus_get_info(),
netstatus_info_get_availability() and netstatus_free_info()