Support es6 export. Fixes #7
Travis support
Merge pull request #8 from mrjoelkemp/es6_exports

Support es6 export