v187 Update bash completion script to work with statuses/priorities etc.
(cherry picked from commit c2564d0439f57008aba3d06995990fe5e47a2823)