Consistent naming for task bodies

Minor change to rename "lambdas" member to "bodies" (consistency)

Also fixes the `hasBodies()` and `hasDependencies()` methods introduced by #25.