[FIX] language and model converter redirections should use code=301
[FIX] stock: moves link on product form opening wrong view

Fixes #2008
[FIX] survey: in prepare_result, result_summary variable could be returned without being initialized (error in question.type maybe, but anyway should be more secure)