Upload functionality

This adds an upload button to the toolbar. Uploading a file will create an object in the current pseudo-directory.