Upgrade "cylc trigger" functionality.
Add testing to ensure graph interpretation consistency.
Simple cylc-scan test added.
Test cylc ping.
State dump once before multiple task manual trigger.
Remove manual trigger flag reset in task.py
Cleaned up crappy queue limit coding (mine).

(previously got right result, but was unnecessarily perverse)
Recoded queue limiting logic from scratch.
cylc testing: add restart tests
cylc testing: alter debug
Added cylc-remove testing.
New CUG Tutorial Section.
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.
Fixed a couple of CUG typos.
Corrected the ftrigger2 tutorial example.
CUG tutorial test suites, and auto-update script.