The three leading candidates for New York City mayor took the stage in Manhattan to make a case to lead America's biggest city.