A used BMW X5 can be a steal or a money pit. Find out which model years and engines to target—and which to walk away from.