Add crates.io 'log' to dependencies

The log crate should be coming from crates.io in the future.
See the PR [here](https://github.com/rust-lang/rust/pull/19820).
Change example to use FromStr

std::str::from_str() is deprecated
Merge pull request #9 from cyderize/patch-1

Add crates.io 'log' to dependencies