GNU getopt functionality ported to Java
