pvchange: fix exit code regression

Commit 1a832398a7caa96faab2ccbac773cc4047c8f9c1 moved
some code from _pvchange_single() to main pvchange() and
introduced exit code regression as return codes have not
been properly changed, thus pvchange command exited
with '0' exit code, even though it has reported error.
Also there is a missing vg unlock in error path.

Fix it by counting the total number of expected calls before
checking for pvname and also unlock and relase vg when
pv is not found.
lvrename: fix exit code

Return invalid cmd line (3) when error is detect on cmd line input.
Cmd failed (5) is used when command processing fails.
lv_rename: validate renamed sublv

Use proper vgmem memory pool for allocation of LV name in the vg
and check if new renamed LV is a valid name.

TODO: validation should really use also VG name, othewise we are not
able to tell "vgname-lvname" will be valid.
lv_manip: drop cmd pointer from for_each_sub_lv

Drop unused passed cmd pointer from function.

TODO:

We have two similar functions (though not identical)

lv_manip.c: for_each_sub_lv()
metadata.c: _lv_each_dependency()

They seem to not always match - we should probably convert
to use only a single function.
debug: avoid warning when compiled with valgrind

Declare 'c' only when compiling without valgrind.
This cleans compiler warning about unused var when
compiled with valgrind pool support.
cleanup: indent change
tests: cover more commands

Visit more code lines.
tests: more pvchange options examined
fix spurios char

Mistyped char left in code.
man: add man page for lvm dumpconfig
man: better formatting for lvm dumpconfig man page
spec: add dumpconfig man
tests: support invalid and fail results

Allow more detailed check for failing exit code:

invalid  -  expects 3
fail - expects 5
tests: move some tests to better places

Some tests already have separate test scripts - so move
those tests to listing and vgcfgbackup files.
tests: updates
lvconvert: fix help message cache_pool -> cache-pool
pvchange: populate lvmcache for --all

When running pvchange --all  learn about available VGs from lvmetad.
tests: expect failing pvs when missing PV
tests: check pvchange changes uuid
tests: more coverage for pvchange

Change metadataignore
Argless pvchange
Alocatability for orphans