Support 'filename' and 'message' parameters on /files queries.

This is a preliminary commit, which doesn't properly return files that are
Blocks but not Parts. Could also use some unit tests.