config.scopes not exist, means do not support scope
move scope.js into publishable.js, add forcePublishWithScope
fix sync scope test
test public mode, fix some logic, close #382