Fix error in rewrite_refs
Import LXT helpers from GtkWave 3.3.48
Add LXT output for integer signals
Add LXT output for arrays of logic types
Add LXT formatting for enumerated types