Talk of a "school-to-prison pipeline" is common in the US, but research shows there are lessons for Scottish education on ...