Removed global 'filter' that was created by accident.
Inserted template filter items in the html body.

It is always desirable to seperate form logic and layout so this is the way to
go.
Allowed line break between two text inputs.
Changed content filter handler to use a template <li>.
Changed time filter handler to use the #time-is <li>.

An additional .off() had to be inserted because otherwise callbacks would pile
up.
Joined two span.append()'s into one.

I found that Chrome evaluated these once in a very odd way, so this should be
safer to use.
Changed type filter to use the #type-is <li>.

This also includes a small but sensible change in how the form behaves: if no
type is selected, the filter is not disabled. Otherwise it would result in an
empty set like it had been before. The #type-is list item vanishes depending on
the filter being in effect or not.