core: Adds cli parser supporting short and long args

Adds command line arguments parser that supports parsing short (-h) and
long arguments (--help).

Change-Id: Id7fe3bf761bd26c86d684ad1dc85751d4492239b
Bug-Url: https://bugzilla.redhat.com/904029
Signed-off-by: Martin Perina <mperina@redhat.com>