tools: added tst_kvercmp2 binary

Signed-off-by: Stanislav Kholmanskikh <stanislav.kholmanskikh@oracle.com>
ltpapicmd.c: split main into separate functions

Signed-off-by: Stanislav Kholmanskikh <stanislav.kholmanskikh@oracle.com>
ltpapicmd.c: Fix the printf() format warnings.

* Fixes printf format warnings

* Remove useless allocations and strcpy()

Signed-off-by: Cyril Hrubis <chrubis@suse.cz>