script to fix broken photo paths in db (#60)

it generates an sql script and a .sh file to move files photos to
downcased directories