Buildrequest data api implementation

Updates:
- Add buildrequest data api (including documentation, unit tests,
fakedb and fakedata)
- Change buildrequest db api 'mine' parameter to 'claimed_by_masterid'
- Minor fixes and factorization in FakeBuildRequestsComponent

Signed-off-by: Olivier Monnier <olivier.monnier@intel.com>
Data API: add filter options to buildrequest collection endpoints

Updates:
- adding filters to the BuildRequestsEndpoint.get() method
- replacing claimed='mine' option in buildrequest DB API, with
claimed=<master id>

Signed-off-by: Olivier Monnier <olivier.monnier@intel.com>
Minor fixes in developer doc

Also enabling todos display in sphinx configuration

Signed-off-by: Olivier Monnier <olivier.monnier@intel.com>
event enhancements

This adds more coherency between the event system and the data system, so that
the events are more coherent with the rest api.
Eventually, the goal is that the events are always the same structure as the data for a same resource

This simplifies a lot the system, and make the client much more easy
This comes at a efficieny price. With this design, events will contain more data.

messages are anyway very small, and probably negligible compared to the network load of logs, and slave communication

Signed-off-by: Pierre Tardy <pierre.tardy@intel.com>
fix doc and lint
Merge branch 'buildrequest_data_api_doc' of https://github.com/omonnier/buildbot into events

Conflicts:
	master/buildbot/data/base.py
fix about page

with angular 1.2, no more magical unwrapping of promises!
Signed-off-by: Pierre Tardy <pierre.tardy@intel.com>
Merge branch 'doc_fixes' of git://github.com/omonnier/buildbot into nine