973784 - improving performance of depsolve

Using the pre-calculated serialized version and release as stored in the database to do version comparison rather than re-calculating on the fly. This along with a couple of other tweaks has resulted in a 40x speedup.
improving a unit test
Merge branch 'mhrivnak-973784'