Made the library work with rust nightly

Collections were changed, primarily find_equiv which caused the failure.
Merge pull request #18 from mitsuhiko/master

Made the library work with rust nightly