fixed jpeg dependency using Pillow
allowing for running on difft local ports
fixed spaces in filenames issue
fixed letterboxing
fixed image import
fixed templates
Merge branch 'issue3' of https://github.com/Pioneer-Valley-Open-Science/infrapix-flask into issue3