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 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.
add build.buildid, sl.buildslaveid, and st.stepid

This required a lot of refactoring of old tests.  It also required
changing the automatic generation of source step names to generate
proper identifiers.
fix validation
set build status to 'finished' when finished
Use the process Log instance, rather than status

* change log.subscribe's signature to pass a callback that's called with
  different args; change LogObserver to correspond
* decode bytestrings to unicode as they are added to logs, using a
  default function
* step.addLog and friends return a process.log.Log instance
Add logEncoding config
add logEncoding to config.rst
Merge branch '9/use-data-api-1' of git://github.com/djmitche/buildbot into nine (PR #1023)

Conflicts:
	master/buildbot/process/build.py
	master/buildbot/process/builder.py

+autopep8, docs fixes, etc.
Merge branch '9/log-slugs' of git://github.com/djmitche/buildbot into nine (PR #1022)
reverse order of dropping tables to match dependencies
buildbotService: rework, for better event support

New api simplifies a lot the common use cases of the controllers:
bind() now registers to 'update' events on all element of the list
e.g:
sse/add/aa4514dc-adae-4b2e-8c1f-d5037574821f/builder/2/build/*/new
sse/add/aa4514dc-adae-4b2e-8c1f-d5037574821f/builder/2/build/*/change

bind() now takes a onchild callback, which will be called at init time, and also
at event time when new child are happening. This help to populate subchilds.

See doc for more info on the new api.

+ bump up a few versions
+ re-enable coffeelint, and fix the remaining errors
+ some new pages
buildbotService: reuse of bound data

see doc change.

The goal of this commit is to enable much faster
user experience by doing more internal caching

Signed-off-by: Pierre Tardy <pierre.tardy@intel.com>