Add the Mercury language to linguist


These changes enable linguist to detect Mercury correctly.  The first two changes below were refused in PR#427 as they did not apply cleanly.  I have fixed the merge conflicts in the third patch.