Implemented Index type. (@Index annotation in models).
Added unique index to widget model.
Fixed boolean type (added hack).