Codegen code cleanup

1. Allow ssa transforms for all member function call statements. if it
was a constructor call, that was split, it will be handled at codegen
2. Iterate through all dependents of a graphnode when resolving member
function dependency