optimize causality API requests
optimize causality API requests

* only fetch things that we haven't yet asked for
* do not fetch things that won't ever change (finished build, versioned
  resource)

concourse/concourse#1538

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