After close encounters with residents and apparent attacks on two dogs, wildlife officials have captured the famed mountain lion, P-22.