added re_group function
list_re_group template function. Clean up re_group function. Add documentation
Template language: Add a new function (group_re) to use grouping regular expressions with groups, where you can replace the matched groups with result of another template

Merge branch 'master' of https://github.com/cbhaley/calibre