Germany has arrested former BND chief August Hanning over suspected espionage, treason and the alleged handling of classified state secrets.