Use url_for instead of composing it in order to get a relative URL

I run Redmine from a relative root URL (/redmine). After creating a Kanban Stage I'm redirected to a unknown URL because it's composed by hand instead of using Rails methods. This patch fixes it.