merged program unit and program model into a single class

moved ProgramUnit members put into ProgramModel class
moved ProgramWord/ProgramModel class variables to class end (Qt style)
constructor now gets table instance directly, not as argument
renamed setError() to more appropriate updateError()