Fix bug 970894: Move snippet preview form outside of main form.

hoosteeno tracked down an issue with the snippet preview to the fact 
that it used a form within a form, which isn't allowed by the html5 spec
and apparently doesn't work in Nightly anymore. We fix it by moving the
preview form outside of the containing form.