Merge pull request #1 from sofish/master

update
add spm field in pkg
add simple UMD
support AMD & CMD & node
reset
Merge pull request #6 from elrrrrrrr/master

模块化
Merge pull request #8 from lin-chao/master

加了四个api
require 报错：fixed #10