Docs: ScalaTest and ScalaForms improvements

Fixes #3082 and fixes #3083. Adding imports to ScalaTest samples and showing form submission on ScalaForms page.