Contact Form: Extract processing to functions.

Extract logic from the `process_submission` function to separate functions.
Contact Form: Form rendering reogranized.

Extracting string concatenation to view templates and structuring render functions and function calls better.