added edit issue functionality on the view issue page
modified uploadWidget to accept only img files