Adaptive MPI Scheduling algorithm from xmds-1.

This code was written by Grisha's computer science team, which included Liam Madge and Gregory Bogomiagkov.

I've added a test case, but the code needs more testing.

git-svn-id: svn+ssh://svn.code.sf.net/p/xmds/code/trunk/xpdeint@2898 41b19578-b77a-4e3b-9682-c8570d237623