Added a check whether user has uploaded a file or not before clicking on uploading and also improved the errors page to redirect them to the error div in documents_upload.html
Merge pull request #1398 from mishravikas/fix-1395-1396

Error handling while uploading a document