Add more utility functions for identifiers
Add a 'slug' to logs, so that names can be non-identifiers

The 'newLog' update method takes care of generating a unique slug.
fix validation
add logEncoding to config.rst
Merge branch '9/log-slugs' of git://github.com/djmitche/buildbot into nine (PR #1022)