Remove code deprecated since 0.4.0
Further changes from deprecation

- Mostly changes required due to removal of methods in Task subsystem
- Fixing Groovy deprecated uses (not found during IDE refactor)
- Also removed a method deprecated in 0.5.0
additional tidies for #1053 (removing deprecated code around tasks and jmx)