fix {redirect, Where, Headers} return

otherwise it ends up with the error

"Action returned an invalid return ~p ", [Other]
Merge pull request #386 from talklittle/master

Fix redirect with headers