ubus: update host active criteria
update the criteria to mark host as active to be based on ndm_state as I think this is a better reflection of the state and also covers both link lost and host down scenario
update the criteria to mark host as active to be based on ndm_state as I think this is a better reflection of the state and also covers both link lost and host down scenario