add generic 'queries' option to collections to allow callers to add any query paramaters to the underlying request. Fix bug in jquery error parsing.