More checks on photo uploading

Photo uploding checks if file can be read as JPEG.
Photo dimensions must be at least 100x100.
Maximum photo file size set to 256KB (also the limit for
MultiPartFilter).
Renamed main class and servlet class.