While chronic stress is harmful, short-term stress can actually boost brainpower and immunity, according to recent research.