Controversial programmer believed to have killed himself in Spanish jail hours after court approved his extradition to US where he possibly faced decades in jail for tax offenses