Ramsey on Foundations of Mathematics