How a consulting firm became one of America's foremost intelligence contractors