Add testing to ensure graph interpretation consistency.
Simple cylc-scan test added.
Test cylc ping.
Added cylc-remove testing.
Better pre-req checking for graph equivalence tests.
Merge pull request #713 from arjclark/expand-battery-5

Expand battery 5
Main loop: sleep 1 only if not about to quit.
Don't sleep unnecessarily in batch submit.
Code batch submit thread loop a bit better.
Merge pull request #714 from hjoliver/minor-code-loop-improvements

Minor code loop improvements
Merge branch 'master' into cug-new-tutorial