feat(resuful): Change Resuful.addResource addSourceMap Api
feat(resuful): Change Resuful.addResource addSourceMap Api

old:
class CustomResource extend Resource {};
api.add(new CustomResource);

now:
class CustomResource extend Resource {};
api.add(CustomResource);

lleohao/restful