Added class for mercurial plugin
Implemented prepareWorkspace for the new hg plugin. It still needs to be tested