CI: optimize packaging tests
Packaging tests merged in !892 (merged) do their job, but it is too slow for automated run on every commit.
Ideas for improvement:
- use py.test framework
- use own image cache instead of implicit and imperfecr Docker build cache
- explicitly split base-image preparation from test itself
@tkrizek has even more ideas.