Added experimental history rewrite

To retroactively apply git-media to a project to reduce its size.
Tested on OSX.