Make index_tests.rs its own crate, used by the other index-* crates.

Avoid using

    #[path = "../index_tests.rs"]
    mod tests;

… which doesn’t work nicely with crates.io.
Merge pull request #59 from SimonSapin/publish

Make index_tests.rs its own crate, used by the other index-* crates.