Add file similarity scoring to diff rename/copy detection

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