Painting base molding can transform the look of any room, but the task can be daunting, especially if you have carpet nearby.