fixed bugs with trigger.cpp.  Started including triggers in PersistentTable