Refactoring the Upload Photo Gallery classes.
This is a complete refactoring of the plupload uploader.
Also added a class autoloader.