microoptimize module formatters, change method names to a new API, and add support for exporting multiple variable declarators - fixes #299