M.F.
I also have a just-turned-2-yr-old and we've been having sleep interruptions. The 2 yr molars are a killer. Both of mine went through heck with those (we're still going through it with my son). The root of your problem might be the molars, but the potty thing is compounding it. Advil at bed time helps a lot on the molars.
As far as potty training, I would simply STOP. I know you don't want to halt progress, but honestly her interest will not be consistent until closer to 2 1/2 and right now she will use it to her advantage. Also, it could be stressing her out and these sleep interruptions are the symptom of it. I went through this with my daughter (now age 4) -- 1) it stressed her out, AND she used the potty as a way to get control of a situation because she knew I would stop what I was doing and take her potty (and half the time she wouldn't go). All of these issues went away almost right on the day she turned 2 1/2. I have friends who say the same thing happened with their 2 yr olds. I know it sounds too manipulative, but now that she's 2, it's par for the course. And yes, the change can be that abrupt! One day, your sweet little pre-2-yr-old wakes up and wants the world to bend to her ever-screaming will! We entered this phase with my son a few weeks ago (he turned 2 in March) and we had also been casually potty training. As son as I noticed it happening I packed up all the potty stuff and put it in the garage and didn't mention it again.
Anyway, whether it's a stress or control issue, just stop potty training.
As far as the pooping at night, check her diet to see what might be causing her to have a BM then. Does she get juice in the afternoon or at dinner? Maybe have that earlier in the day. If she's having a BM in the middle of the night, she's either holding it until then because she knows you'll take her potty (honestly, this is possible!), or her cycle is a little off. (And, it's a sign that she's not quite ready for potty training).
Good luck!