added prettytime dependency
put a format date function in question and answer services
fixed tested sortedanswers in question services