Update to newest rust, add Cargo

Updated to work with latest rustc (as of 2014-07-28), use cargo to compile, and fix a small error that occurs when dividing zero by anything if zero is an Mpz.