gt: cmake: Rewrite CMake scripts

Change-Id: I32f0f980b2f0fb67a3ea4af889480d87317ca015
Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>
gt: packaging: Add packaging for generating rpm package

Change-Id: I5a2bb400aad2d8c4303a5b2dcf959cd7388efae2
Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>
gt: Removed const from main arguments type

Argument passed to getopt should not be const char **

Change-Id: I0097802cd90d75a93a1e55efb40b75dac9e898f1
Signed-off-by: Pawel Szewczyk <p.szewczyk@samsung.com>
gt: Make defining default function for command_parse possible

It's not error, when standard command parse reach end of arguments list.
We can define some non-help-printing behavior for this situation.

Change-Id: Ib4bed570f385883d8cda5f79b648cfc31cef1e2a
Signed-off-by: Pawel Szewczyk <p.szewczyk@samsung.com>