As the smoke clears at the devastated detention centre, an investigation reveals how officials ignored the warnings that they were sitting on a powder keg.