Embrace ES6 modules and ditch UMD

This is breaking the previous API but I prefer to build for the future instead of adding code to support module systems that will ultimately be obsolete.