Fixed error in auto-incremental index for catalog
Catalogs are processed now in batches controlled of 1000.
Controlled by the MAX_FILES_ITER variable. Laziness rules (yield i <3 u)
Fixed error in autoincremental keys in table.
Fixes #31.