ISIS leader was once a 'cooperative' prison informant who ratted out terrorists to the US military, newly-released records show