Fix #353: Only export module accessor, not module class constructor
Fix #313: Checks for ctor and module exports. Prevent trait exports
Merge pull request #355 from gzm0/export-improve

Export improve