Partial Integration Of Query Wrapper

Seeking comments - this will not be merged until complete.

I have reached a problem where limitations on the Varien_Db_Select prevent me from preparing queries and operating on them in the most efficient way while also avoiding code duplication.

Open to any suggestions, I was torn between building this query builder and extending Varien_Db_Select to provide the desired functionality while taking a first attempt at this.