Centralize all the Errors classes in one place.
Add Index class and find by secondary indices with method `find`.
Test secondary indices and find
Support unique indices which checks uniqueness before save.
Remove unnecessary flush
Merge pull request #4 from emancu/index_capability

Index capability



Create secondary indexes to find objects and also create unique constraints