Document IndexMatchedPath

Since rust-lang/rust#19553, missing_docs checks typedefs too.
Fix git_filemode_t values.
Merge pull request #25 from Trundle/fix_git_filemode_t_values

Fix git_filemode_t values.
Merge branch 'document-IndexMatchedPath' of https://github.com/cuviper/git2-rs into cuviper-document-IndexMatchedPath

Conflicts:
	src/index.rs
Update libgit2 dep and don't bulid debuginfo

In debugging a segfault on win32 with gcc 4.9.2, I ended up updating the libgit2
dep as well as figuring out that the RelWithDebInfo profile causes a segfault
while Release does not! This looks to be a bug in gcc 4.9.2, but it'll be tough
to track down, so let's just stick with this for now.
Choose cmake profile based on cargo profile
Fix API definition of git_remote_download
Implement the standard Error trait
Implement the description method as well
Update to rust master
Run pkg-config after building libgit2

This helps pick up optional deps like http-parser and iconv.
Fix builds for cross compiles
Fix build on windows
Removed #[deriving(Copy)] that's already specified in bitfield!
proc() -> ||
Merge pull request #26 from ktossell/rust-20141215

updated for rust 20141215
[WIP] Add Revwalk