Contact Forms: Refactor subject token replacement.

`replace_tokens_with_input` replaces token values more neatly by using
`str_ireplace` with all the possible token strings and their corresponding
values.