tools: Moves temp file creation from .sh to Java in engine-manage-domains

Moves creation of engine-config custom properties temporary file from
engine-manage-domains.sh to Java, so -propertiesFile command line
argument can be removed.

Change-Id: Ia6fd2c5066e0e0cf12d10be32ec6c36a8a91bfaf
Bug-Url: https://bugzilla.redhat.com/904029
Signed-off-by: Martin Perina <mperina@redhat.com>
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>