Add support for exporting ES6 classes.

Closes #176.
Merge pull request #182 from esnext/es6-class-support

Add support for exporting ES6 classes.