Add auto tests to the repository.

The tests were imported from https://github.com/enginio/enginio-qt-tests
and modified to match the new build system.
Make it possible to use make check for auto tests.