Added some handling for @Indexed and unique constrained.
Fixed IndexIT.
Fixed IndexMappingIT.
Some bug fixes and minor cleanups.