Update leveldb, etc.

* leveldb has moved to github. This points us to the right place.
* Update leveldb version to v1.17 (most recent)
* Clean up leveldb links, makes things work in Xcode 6
* Add to .gitignore