At least 40 pro-Palestinian student protesters were detained at a demonstration inside a library at Columbia University.