Add file similarity scoring to diff rename/copy detection

The goal is to complete diff rename/copy detection functionality.

- [x] implement file similarity metric
- [ ] get similarity metric feedback
- [ ] get function naming feedback
- [ ] plug metric into rename/copy detection
- [ ] many more rename/copy tests