revert GROOVY-6424 and make group and module optional instead

All tests still pass (even on JDK 1.5)

Feel to suggest improvements as I'm obviously not a native speaker.