Some string formatting fixes for zone generation code.
Fixed: CSRF cookie not being set until a form was loaded.
Improvements to user management page; link to add group user
Added comments requested in pull request.
Remove spaces in last name in generated usernames.
Merge pull request #1 from jamalex/IDOC_coach_reports

Fixes for CSRF and user management page