added bulls and cows

ported the implementation of bulls and cows on http://rosettacode.org/wiki/Bulls_and_cows#Rust to Rust latest
I refactored it a bit and added tests.

ref https://github.com/Hoverbear/rust-rosetta/issues/170
`.into_string()` is unnecessary here