Make the Index the TreeLink, not the IndexDef, which is more or more deprecated.
merge MMcM: Make the Index the TreeLink, not the IndexDef

Merge pull request #987 from MMcM/sql-layer/less-index-def
https://github.com/FoundationDB/sql-layer/pull/987