fencing: Add support for usage of longopt keys in options
This way we can make code more readable options["--power-timeout"] instead options["-g"].
This code was created manually to support both short and long options but fence agents will
be moved to long-options automatically.