Plasma based waste treatment and energy production