Fix image upload progress bar
Merge pull request #480 from RickMohr/image-upload-progress-bar

Fix image upload progress bar
Require login and use regular urls.

Fixes #339 and Fixes #393

When editing plots and trees use normal URLs (i.e. /inst/plot/349/edit)
instead of hashes.
Merge pull request #481 from ahinz/fix/339/login-required

Require login and use regular urls.
Updates to remove jshint issues