Added new upload feature, fixed a few bugs.

Added a feature that allows users to upload PDF files via HTML drag and
drop and stitch them together.

Also fixed a bug with PDF files with spaces, and a few other minor
issues I found along the way.