Add discovery states to nodes overview page

Add discovery states to nodes overview page and filtering helper
for extra metadata.

Change-Id: I13f68ccb877215b185af13b717eeed09ca0f69da
Merge "Add discovery states to nodes overview page"