add InvertIndex interface, implement MemIndex, delete posting.go