VE-600 and VE-122 adding error messages when uploading media
JSDoc and Whitespace
VE-122 permission denied error for users that aren't allowed to add images/videos
adding a todo for later
adding a todo for later
VE-122 following earlier conventions
JSHint
Merge branch 've-sprint-7' into VE-600-non-premium-error-message
Merge pull request #2178 from Wikia/VE-600-non-premium-error-message

Media insertion error messages
Split ApiTempUpload into two ApiAddMediaPermanent and ApiAddMediaTemporary
Adjust JS to use new API actions and methods
Fix: Missing "File" when calling imageinfo API and incorrect reference to User object
Fix: Missing "File" when calling imageinfo API and incorrect reference to User object
Call getTitle instead of getText
Merge pull request #2201 from Wikia/VE-upload-api-refactoring

Split ApiTempUpload into two ApiAddMedia[Temporary|Permanent]
Merge branch 've-sprint-7' into dev