Add: improvement support for resolving overloaded routine to handle "invar" parameters;
Add: running time checking of routine calls for "invar" parameters;
Fix: a few minor bugs (string.trim() and stream type related).