ContactForm: Skip form redirect if goto option is empty

Just a small addition that allows to skip the form redirect after successful submission. 

I wanted to display the message sent by the user, but had no access to the form data after the redirect. With the proposed fix developers at least have the chance to skip the default behavior by passing false/null as goto option.