Reset procedure table, symbol table and graph list for redefined function

This submission is to support function redefinition in live runner. Test cases added. 

The related Dynamo pull: https://github.com/ikeough/Dynamo/pull/939