From "The Office" to motherhood, Mindy Kaling opened up about what she's learned from being a woman in comedy.