new routine of dealing with command lines

(1) make "bool" as unsigned int --- get rid of warnings on
    index2members

(2) move longopt[] to the global scope because we need it
    in functions other than processCommandline

(3) simplified setopt
    * now we only need set correct value based on the index

(4) index2member[] holds all values of cmdline

(5) index2swarmkind[] holds the swarm-kind of each command option
    * only support SK_Flipcoin right now

(6) move the swarming part from ccg.c to commandline.c

(7) all commandline options are initialized in initCommandline

(8) added one more option --swarm-replay
    this option is used to re-generate a program that was
    produced with --swarm

    The reason is that we have to run the same number of "rand()" as
    we did with --swarm