filter-depend: upgrade filter-depend

- Rewriten in Ruby with much better commenting.
- Add full file paths to target names. Previously, file paths would be
  stripped, leading to useless targets for everything not in the present
  directory.