Correct type for SnapshotIndex's new_for_testing().
Fixes compile failure for tests.
Add .travic.yml for rust 0.12.0 to auto-run code and documentation tests.