LPS-32231 javascript: links need one more level of encoding

Forwarded from @zsoltbalogh, here are his comments:

(Not a support request, just fixing this for fun)

The browsers decode the URL which we give to the submitForm method and it causes the server to use the parameters of the redirect value.

The fix will use the HttpUtil.encodeURL(String) method as it seen in the dockbar/view.jsp.

This is only issue when as javascript: links (like this: javascript:submitForm(document.hrefFm, '" + HttpUtil.encodeURL(uninstallURL) + "')LPS-32231