add #{detail} ability to flashMessage extension and use it with getErrors

Dev: use it in datablase PHP with $question->getErrors();
Dev: TODO : use a global viewHelper function to use it