Add rpmdsTagF() and rpmdsTagEVR() to the API to accompany rpmdsTagN()
Add rpmdsPutToHeader function to to API
Expand options in %autopatch only once

- Work around scoping "fun" wrt nested parametrized macro invocations
  combined with macro manipulation from %{lua:...}

Signed-off-by: Panu Matilainen <pmatilai@redhat.com>