Added getCommonItems function to utils.

Update to primes, to use faster binary search.
Fixed typo in poker.js