Detect any illegal graph node notation.

Addresses #456 in particular: fail foo:x[T-n] (should be foo[T-n]:x).
Restore retention of collapsed in graph viewer on reload.

And do a little refactoring of the cylc_xdot module.
Insert option added to graph view.
Merge pull request #663 from hjoliver/graph-viewer-collapse-reload

Restore retention of collapsed state in graph viewer on reload.
Merge pull request #661 from hjoliver/456.bad-graph-notation

Detect any illegal graph node notation.
cylc testing: initial prove framework draft
cylc testing: improve grep function
Defaults values inserted by r-click inserting of tasks.
Merge remote branch 'upstream/master' into gui_rclick_menu_insert
Merge pull request #665 from arjclark/gui_rclick_menu_insert

cylc gui: add insert option to graph r-click menu
Merge pull request #1 from benfitzpatrick/cylc.test-prove

cylc: TAP formatted tests
Initial commit.
Deleted nfs files.
Added the new(ish) submit-failed state to restart checks

Restarting with a submit-failed task was erroneously treated as an error
condition.
Second half of battery. Also added validation tests.
Merge pull request #668 from hjoliver/submit-failed-state-at-restart

Added the new(ish) submit-failed state to restart checks
Adjusted a suite.rc. Added variables to battery script.
Moved tests. Added to get-global-config. Test suite tidies up after self.
Tidy up.
Correct shebang and use datetime string as prefix for suitename.