Add key encode command

- app/models/key.js: fix typo
- app/routes/api/keys.js: fix typo
- app/routes/api.js: fix typo
- bin/shell: add key encode command

Signed-off-by: Boris HUISGEN <bhuisgen@hbis.fr>
Fix error codes and messages

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

Signed-off-by: Boris HUISGEN <bhuisgen@hbis.fr>
Fix remove unused parameter

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

Signed-off-by: Boris HUISGEN <bhuisgen@hbis.fr>
Fix res.status()

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