Filter api schema update fixes

Don't try to make use of filter api when doing database schema updates.

Fix filter_ensure_valid to handle updating filters regardless of source (e.g. cookie, url) as opposed to just db.

If we want to provide a method to bulk update database filters to latest version, we can do that as an admin utility.