created addConditional method to slip a new conditional on to the stack.
missing some %s from the search code
using the new DB function addConditional method
Removed addWhere from ResourceFactory and replaced with addConditional
Pagers initialized outside window.load to allow it to be global.
Added options function for setting parameters in Pagers. For now, just the callback can be set.
created a triggerCallback function that is called per page load.