Add TBdbfork(), a terribly bogus hack to deal with dropping and
recreating the connection to the DB across a fork. It appears that with the connection shared, DB queries can fail. It would be nice if PERL had fork handlers. Add TBSetNodeEventState() and TBGetNodeEventState() library routines, and some constants for the event tags. Beef up the experiment access check code to handle destroy as a distinct case.