dbPowerAmp (free for 3 weeks, then $38) will handle your scratched CDs "securely" (with a smart re-reading strategy), will rip to FLAC and MP3 at the same time, and tag with metadata merged from 5 providers. ReplayGain album-gain scanning has to be done in a separate step with the batch converter, I believe.
I dont think there's any one-step solution for what you want (rip to FLAC+MP3, tag, ReplayGain-scan). Two steps, though...dbPowerAmp (free for 3 weeks, then $38) <---snip--->CUERipper (free) <---snip--->The highly configurable audio player foobar2000 (free) <---snip--->
(Took me all day to find this, someone moved my post but left the original under General Audio, which still says 0 replies.