init commit

Known issues:

有些情况（也许是所有情况？！也许是原先就这么设计？！），qry_remove不会删除相应的索引信息。

例如下面这个：

[{arity,5},
                                                         {id_gen_state,2},
                                                         {values,
                                                          [{2,
                                                            [2,<<"f4240">>,0,
                                                             false,true]},
                                                           {1,
                                                            [1,<<"f3427">>,0,
                                                             false,false]}]},
                                                         {column_indexes,
                                                          [[{2,[2]},{1,[1]}],
                                                           [{<<"f4240">>,[2]},
                                                            {<<"f3427">>,[1]}],
                                                           [{0,[2,1]}],
                                                           [{false,[2,1]}],
                                                           [{true,[2]},
                                                            {false,[1]}]]}]
=>
[{arity,5},
                                                         {id_gen_state,2},
                                                         {values,
                                                          [{1,
                                                            [1,<<"f3427">>,0,
                                                             false,false]}]},
                                                         {column_indexes,
                                                          [[{1,[1]}],                         ; <--- 但是这个干净了。
                                                           [{<<"f4240">>,[2]},
                                                            {<<"f3427">>,[1]}],
                                                           [{0,[2,1]}],
                                                           [{false,[2,1]}],
                                                           [{true,[2]},
                                                            {false,[1]}]]}]

或者：

[{arity,5},
                                                         {id_gen_state,4},
                                                         {values,
                                                          [{3,
                                                            [2,<<"f4240">>,0,
                                                             false,false]},
                                                           {1,
                                                            [1,<<"f3427">>,0,
                                                             false,false]},
                                                           {4,
                                                            [3,<<"f9269">>,0,
                                                             false,true]}]},
                                                         {column_indexes,
                                                          [[{3,[4]},
                                                            {2,[3]},
                                                            {1,[1]}],
                                                           [{<<"f9269">>,[4]},
                                                            {<<"f4240">>,
                                                             [3,2]},
                                                            {<<"f3427">>,[1]}],
                                                           [{0,[3,2,1,4]}],
                                                           [{false,[3,2,1,4]}],
                                                           [{true,[2,4]},
                                                            {false,[3,1]}]]}]

=>

[{arity,5},
                                                         {id_gen_state,4},
                                                         {values,
                                                          [{3,
                                                            [2,<<"f4240">>,0,
                                                             false,false]},
                                                           {1,
                                                            [1,<<"f3427">>,0,
                                                             false,false]}]},
                                                         {column_indexes,
                                                          [[{2,[3]},{1,[1]}],
                                                           [{<<"f9269">>,[4]},
                                                            {<<"f4240">>,
                                                             [3,2]},
                                                            {<<"f3427">>,[1]}],
                                                           [{0,[3,2,1,4]}],
                                                           [{false,[3,2,1,4]}],
                                                           [{true,[2,4]},
                                                            {false,[3,1]}]]}]