A new study shows that getting enough exercise and shut-eye will stop your temper from getting the best of you.