Move PrimeIterator into common.

Improves implementation to use a growable bit vector to store a table of
prime/not prime.
Solution to problem 10.
Remove unneeded println!()