Clear will clear the selected bug, if any
ResolveBug first try to resolve a bug using the first argument of the command line. If it fails, it fallback to the select mechanism.
Returns: - the bug if any - the new list of command line arguments with the bug prefix removed if it
has been used
- an error if the process failed
Select will select a bug for future use