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.

 Also added support for ssl.
Merge remote-tracking branch 'origin/master'

Conflicts:
	lib/fileUpload.js
	public/fileUpload.html