David Hartley, 1705-1757