Makes the addQueryString filter more robust and return a SafeString
so the result isn't autoescaped.

Uses addQueryString in send to backpack button redirect, and use
setTimeout which makes Safari happy.