Added state checking for cat-state vs database.
Fix early shutdown
Registration testing.
Added tests for cold and warm start cold-start task behaviour.
Upgrade "cylc trigger" functionality.
Merge pull request #708 from arjclark/expand-battery-4

Expand battery 4
Merge pull request #710 from benfitzpatrick/early-shutdown-fix

Fix early shutdown
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