Import XMvn P2

This pull request adds XMvn P2 plugin together with supporting code. This code was just removed from XMvn.