more thrashing
Network inference now works again.  Had to modify the idea slightly.
inference cannot be done incrementally, but rather must do this deffered
at the end of the transaction.  Consequently, the information regarding
inferred_from edges is lost.  I also took out inference_rule, but I'm
going to put that back in later.  At least everything is fucking working
again.