Cerium oxide paste. I think JC Whitney sells a kit for buffing small scratches out of windshield glass. Also, here's a link for a kit:
Glass Scratch Removal Kit
The big caveat here is that these are for removing scratches that you cannot catch with your fingernail.