[core] Add docs for the ES6 module system