Validate image and show alert

:dancers: :coffee: :dancers:

The jquery image upload plugin fails silently when the image exceeds our maxFileSize or when it is not an acceptable file type. This PR checks the file and creates an alert for the error instead of failing silently.