Not knowing all the details, I'd say it's one of those experiences that new riders have. You'll be better for it.
The scare happened because you locked up the rear. This happens when you're braking heavy on the front, weight transfers forward, and there's not much weight keeping the rear biting the road. As a result, too much rear brake locks the wheel and you drift.
The more weight that has transferred to the front, the less rear brake it takes to lock it up. For this reason, and a couple others, the rear brake is regarded by many (myself included) to be damn near useless. I use the rear brake, but only very lightly.
The rear has a small disc, so even under the best of traction, it's just not that good. Focus on the front, but remember, with enough pressure and traction variables being just right, you can lock it up too, and it's near impossible to bring that ship back after it sails.
I wouldn't be scared while accelerating in turns. Your scare happened under braking, and it's a common mistake. We all did it one time or the other. You had a scare while braking, so don't be afraid of acceleration as a result. They're two very different animals.
Take things easy. 3 months feels like longer than it is. You have all the time in the world to push the envelope, just be cool and get the basics down for a while longer, then VERY gradually increase your risk taking. These bikes will put up with a lot, but when you cross the line they go from being wonderful machines to brutal uncontrollable bastards. Be safe and learn at a reasonable pace.