refactor to use ES6 and bundle up using transpiler

continuation of https://github.com/yahoo/intl-messageformat/pull/60
I like exports to come right after imports so it's clear what this file is using and providing.