query: fix processing of any

Reported-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
apply: add an interactive option

This passes -i to git-am which let's you pick and choose patches to
apply.

Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>