resteasy: add support for resteasy 3

Signed-off-by: Federico Simoncelli <fsimonce@redhat.com>
glance: allow to close the ImageDownload stream

Signed-off-by: Federico Simoncelli <fsimonce@redhat.com>