lib/linguist/heuristics.rb: Disambiguate Mercury-M

In the [Mercury repository](http://github.com/Mercury-Language/mercury)
75 files have been classified as 'M', this patch tries to rectify that,
using the fact that Mercury modules must contain a ':- module'
directive.