Former head of the police watchdog, Robert McBride, has told the judicial commission of inquiry into state capture that there was an attack on anti-corruption bodies and that his suspension in 2015 was part of a process to take control of the independent bodies.