refactor to use ES6 and bundle up using transpiler

continuation of https://github.com/yahoo/intl-messageformat/pull/60
Two-space indent.