Undo command for changing textbox contents

[Pull request based on code from https://github.com/tantaman/Strut/pull/185]