whereDeclared() and isAssigned()

Realized I didn't need the block tree thing. Wrote functions to find out
whether a variable has been declared or assigned already, and these will
also tell you were it happened or what type it was, respectively. Next:
get vardecl/assign/whereDeclared/isAssigned definitely working.