Restructured some IBEIS getters, added iteration to the database object
Merge fixed and added Jason's comments to Jon