Merge pull request #2763 from kgaillot/best-practices
Move some scheduler code from libpacemaker to libpe_status