Added prefix and suffix to grouping functions
fixed error reporting during publishing
Merge branch 'dev' of https://github.com/cotrix/cotrixrep.git into dev