Ensure that local exports have preference over export *

Whenever an `export *` statement is used, the variable `$__exportNames` is declared as the array of known export names. Before updating a binding for an `export *` item, we first check against this list and skip if already present.
Sure I've fixed this up.