B: filter out unused resource version from api res
B: filter out unused resource version from api res

it can be argued that having the extra resource_version_id doesn't hurt
- the ui handles missing nodes anyways. but it felt more responsible to
  properly sanitize the response anyways

in addition, i'm not sure when but the tree building (i.e.
handleinput/handleoutput) was reversed

Signed-off-by: Bohan Chen <c9a015a7f6482b47c219aa2cbd78ba6c88c0a327@pivotal.io>

concourse/concourse,concourse/concourse,concourse/concourse,concourse/concourse,concourse/concourse