Don't emit W098 for exported labels. Fixes gh-1863

Closes #1863
WIP: fixup
WIP: Fixup2
WIP: Fixuppppp even more
Warn when export declaration used outside of global scope.