Fixed binary file detection.
Implemented a marker scrollbar on the diff viewer.

The diff viewer now has a marker scrollbar that shows the changes spread over the file.
Implemented modification support on diff viewer.