Detect tasks with no explicit cycling defined.

This is already handled properly in cylc-5 backward compatibility mode, but in
cylc-6 format suites it generates a misleading error message.
Added a change accidentally omitted from last commit.
Address style comment.
New tests added.
Merge pull request #1264 from hjoliver/detect-no-explicit-cycling

Detect tasks with no explicit cycling defined.