Residual finiteness, QCERF, and fillings of hyperbolic groups