added pernicious numbers and population count

Adds 2 tasks. 
Changes AKS test for Primes so that it's usable as a library.
Fixes https://github.com/Hoverbear/rust-rosetta/issues/221

whoops... thanks