vhdl: Manage objects using TrashBox

@masatake could you please review the code?
Valgrind no longer fails, so I guess it should be ok. Nevertheless, I would like to have your review first :)