Change startupGroups to current MVCGroup name when calling generate-all.
Add boolean parameter to beginTransaction to resume from previous transaction (true - default value) or start a new transaction (false).
Fixes Application.groovy not modified when calling generate-all.
Fixes can't generate from default template if no attributes found in domain class.