refactor to use ES6 and bundle up using transpiler

continuation of https://github.com/yahoo/intl-messageformat/pull/60
I'm ok either way.