Dependencies: resolveLib now tries rpm -q and falls back to repoquery

ie If lib.so installed then we use rpm -qf /libdir/lib.so
otherwise we try to query with repoquery which is slower
whether even warm cache or cold.