This commit removes dependency on `filter.js` by lifting the construction of `Filter` object up in `all_messages_data.js`.
This lets us simplify the long-ish ‘../../static/js’ paths, and will remove the need for the ‘zrequire’ wrapper. Signed-off-by: Anders Kaseorg <anders@zulip.com>