GROOVY-6658: Set anchors for each section in Groovy Ascii docs

converted Dhiraj Mahapatro suggestion in https://jira.codehaus.org/browse/GROOVY-6658 to a pull request