Long a tactic of fed-up parents, the idea of paying for good grades has migrated from the family room to the school house. In states ranging from Texas to Massachusetts, a growing number of students are pocketing cold cash for good grades or test scores on Advanced Placement and SAT exams, typically through privately funded programs.