Fix var linking in imports

When an original var is redefined, imported var should point to the new
value of the var, not the var itself.
Merge pull request #14 from dm3/fix-namespaces-linking

Fix var linking in imports