Pass context to HTMLForm, don't use HTMLForm::setTitle

Change-Id: I5325d1b9db2db9ea6fa0006cd9c4a2e10db05d75
Merge "Pass context to HTMLForm, don't use HTMLForm::setTitle"