Improved Grapple has Improved Unarmed Strike as its prereq, not combat expertise, so you're fine.
Yes, you can stun first then trip or grapple. In fact, if you do so, you could stun with your first attack, disarm with your second since it's still at your top BAB due to flurrying; they can't...