Polish secret services detained three minors suspected of planning terrorist attacks following a deadly shooting in Krakow.