fix bug 1093237 - move revision diff code into own template macro.

This should also enable the datetimes in the table to take the user's timezone into account.
fix bug 1024649 - add ability to change diffed revisions on translation page
Merge pull request #2876 from jezdez/bug1024649

fix bug 1024649 - add ability to change diffed revisions on translation page