#1639: Use live instead of bind so we can add files through ajax.
#1639: File upload and insertion now function.
Merge branch 'SCHOLAR-3.x' of github.com:openscholar/openscholar into master7