Export declarations were not being included in the compiled output due to a too aggressive approach to preparing modules for eval inside of sweet. The PR fixes that in a hacky way, the module handling stuff needs a rewrite.
Don't merge this just yet, I want to add a snapshot test as in #718 but need to figure out why travis is complaining first.