Update .gitignore to ignore files related to PyTesser
Put code that generates filenames in `common` so proc_images can use
Move number of cross-validation segments to common file