add function which is passed the pattern as a parameter rather than prompting
add commands QFGrepPat and QFGrepPatV to access this function
split out code for saving quickfix and filtering quickfix into separate functions to be called by both grep functions