Australia's workplace watchdog has taken confectionery group Darrell Lea to court over alleged mistreatment of a number of the company's casual workers.