Fix typo in subject.ls
Add check-defaults to middleware.has-roles
Remove .js middleware module
Make remove currying from util.check-defaults