DRY up the run_query methods a little. Added better comments on these and some optimization related TODOs.
DRY up the run_query methods a little. Added better comments on these and some optimization related TODOs.

evanrolfe/acts_as_indexed,nikolai-b/acts_as_indexed,nilbus/acts_as_indexed,dougal/acts_as_indexed