Update leveldb, etc.

* Update leveldb submodule to v1.17 (most recent)
* Clean up leveldb links, makes things work in Xcode 6
* Add to .gitignore