Adding basic filter functionality. Rudimentary, based on string data and...

... a policy of 'failing open' - if we are missing information on something do not filter it out.

Not terribly proud of some of this code, but it gets the job done and it should give the folks working on theming the site something to work with.

I suspect much of the filtering code will be rewritten when we move stuff into a more structured data model.