ticket:5 added tests for photo upload; fixed template; Pillow added to requirements.txt