Added methods for SymbolTable and Symbol

Added methods to SymbolTable and Symbol. This way the virtual machine and compiler can both add and update symbols to a symboltable.

Review for @rbsloot and @tmsburgt (they need to work with this code in as the first persons)