Added checks to quickcheck flag for building tests.

We weren't properly checking the quickcheck flag, and so the opam package tries to build the tests, but pa_ounit and quickcheck aren't listed as dependencies and building fails. Other option is to build tests by default and add them to build dependencies.
add check to flag(tests)
Merge branch 'check-quickcheck-flag'

Conflicts:
	setup.ml