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

I'm waiting for other comments from you or other reviewers before adding a commit to fix this.