Strip superfluous markup from document filters

The document filter markup seems to have grown over
time. This removes most of the extra no-longer-needed
tags, classes and ids. This also brings the document
filter markup more inline with the stats announcement
markup.
Dry up some filter form markup