add %check section with "%cabal test" or comment about missing test deps

- Dependencies: add testsuiteDependencies
   move repoqueryLib above packageDependencies
- PackageUtils: export notInstalled