fixing bug #5437 by removing obsolete code
fixing bug #5190 by using javascript promises (thanks YoCha)

Conflicts:
	question-reply/question-reply-war/src/main/webapp/questionReply/jsp/listQuestionsDHTML.jsp