qa: installing dependencies and running make check

So that a continuous integration tool can run the content of the
directory and check the exit status, regardless of the operating system
or the distribution.

http://tracker.ceph.com/issues/10046 Refs: #10046

Signed-off-by: Loic Dachary <ldachary@redhat.com>