Copy() and AndWhere()

These features should enable outside libraries to automatically page
queries, by copying a base query and adjusting its where clause.
We should check if q.where is nil here