Extra debug-time test- throw an error if attempting to chain(previousTaskInChain)
Updated build.gradle to putput HTML reports for PMG and Findbugs; various findbugs and PMD fixes in the library
Task.cancel() and onCanceled() b give more debug info such as the reason for cancelation