Rename groups to names in Regex

closes #2043.
This PR includes a commit "`Regex.names/1` returns a list of binary instead of a list of atom".
If it is not good, please say to me, I'll remove it.