Changed the way exported identifiers are handed in modules.

Instead of having 'exported' flag in GLOC, we now have two hashtables
per module, one for all internal bindings and another for exported
bindings.  This allows us to implement export-time renaming easily.