toolcontext: add bash_completion generation option for nit tools

Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
tests: add ToolContext test

Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>