Mercurial plugin

I've added a mercurial plugin. The project was converted to VS2012 tough.