support cmd loader like Sea.js

CMD specification: https://github.com/cmdjs/specification/blob/master/draft/module.md

Loader: https://github.com/seajs/seajs