It is aimed at stopping terrorism and radicalisation, but devastating attacks and high-profile reviews have meant Prevent has been under scrutiny since it started.