Refactor roles/permissions check, add variables and blacklists routes

- app/models/route.js: rename old collection model
- app/models/variable.js: add model to get/set variables
- app/models/role.js: add flags for options and blacklists routes
- app/routes/api.js: add common middleware checkApiAccess() to check roles and permissions
- app/routes/api.js: reorder middlewares and remove useless code
- app/routes/api.js: fix error messages
- app/routes/api/*.js: remove role/permission middlewares
- app/define.js: define variable names
- bin/shell: add variables commands
- bin/shell: fix collection/route code
- bin/shell: fix init to store variables
- bin/shell: fix checkInstance function to use variable

Signed-off-by: Boris HUISGEN <bhuisgen@hbis.fr>