update the package query response upstream field

upstream now tracks a latest version and a map of all queried versions to their respective latest versions. update tests and coffee to reflect this.

Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
separate function to create the package query by filtering an upstream repo for tests

Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
update the outdated_info indicator in packages to the new field's api

also add tests to validate this. use the upstream.latest field to indicate the latest version now

Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
bugfix: ignore the upstream field in packages if it's not queried

i.e. if we query with a filter to an upstream repo, we expect the upstream field to be filled with infos. otherwise, however, if we don't compare to an upstream repo, leave this field empty

Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
Merge pull request #38 from TelekomCloud/upstream-field-updates

Thanks.