Rationally connected foliations after Bogomolov and McQuillan