Pull file upload stuff into separate file.
Break blueprint into separate files.

Upload handling and deposit code are now in self-contained files.
Removed some dead code.
Removed uneeded js being pulled in for plupload.