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.
indexOf is O(n) which makes this O(n^2). Maybe use an object as a map instead?