Fix foundation and priority calculation for ICE candidates

Ignore-this: 4ed60fa45502b618908a6cfd8bd721bb

darcs-hash:20100218084239-56b4d-cfcab7d859b08113b7975a75b51cb1470f96e379
Added instructions for installing the cli scripts

darcs-hash:20100219000315-58252-c5e804e950d8db4a0d97b33c3e2c32230841d1a0