Enhance Selenium regression test search helper to add a feature that will use the dal to replicate the database query of a simple and advanced search

Note that this is for both GCI tasks: 
    http://www.google-melange.com/gci/task/view/google/gci2012/8098204 (advanced search)
and 
    http://www.google-melange.com/gci/task/view/google/gci2012/8101208 (simple search)

The checking of records returned is in a separate GCI task (http://www.google-melange.com/gci/task/view/google/gci2012/8098205).