Added set region query, uploading handling

Added set region JSON query
Old photo is deleted before new is placed (otherwise might not work on
all OS's)
Wrapped MultiPartFilter to handle its exceptions (for example too large
file size)