add assert scope middleware
fix debug info
fix adapt scope
add test, fix middleware
fix scope test cases
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
check scopes in module.getAdapt
Merge pull request #383 from cnpm/issue382-limit-scope

Issue382 limit scope
add DefaultUserService
remove session middleware
support custom user service for user auth