Decision to livestream Nidal Hasan execution has led to harsh criticism and warnings that it could encourage violence.