You should have used your 4th amendment right. From the sounds of it, he didn't have reasonable cause to pull you over. You got jacked by the cops man, fuck it, don't sweat it.

Don't tell him shit. even if he does call your parents, there's no way you'll do time for possessing that much, plus it's your first offense i assume?