Implement File Uploader.

Added files needed to implement a file uploader (using blueimp
 jquery plugin). Also moved ajax calls to a common js file for easier
 reuse.