Created new Photo Editor class, that handles photo resize and rotate.

Git thinks inc/Upload/PhotoGallery/Handler.php was renamed to
inc/PhotoEditor.php, but that is not true.  Some of the code
from Handler.php was moved into PhotoEditor.php.