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>
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
add a BuildStep.isNewStyle method
Various Fix
 - Fix: master/buildbot/buildslave/manager.py
   - __repr__ method of BuildslaveRegistration
 - Fix: master/buildbot/process/buildrequest.py
   - set ss.patch to None instead of (None, None, None)
 - Fix: master/buildbot/status/buildstep.py
   - Make BuildStepStatus picklable
 - New BuildRequest are processed:
   - Change the filter of BotMaster::buildrequest_consumer_new from ('buildrequest', None, None, None, 'new')
   to ('buildset', None, 'builder', None, 'buildrequest', None, 'new'), otherwise the BuildRequestDistributor activity_loop is never wakeup
   on a new buildRequest.
   - Note: This is certainly a temporary fix.
Merge branch 'nine' of git://github.com/delanne/buildbot into nine

+autopep8
 - Fix: call self.master.data.updates.buildslaveDisconnected when the Slave is disconnected
   This patch fix the following bug:
    - When a slave disconnects, the list "connected_to" in JSON object returns by http://127.0.0.1:8020/api/v2/buildslave
      isn't updated
 - Add buildslaveConfigured methods and update the db.
   It fix the following bug: "configured_on" was always an empty list
   when we made this HTTP Request http://127.0.0.1:8020/api/v2/buildslave
 - Update unittest
Start to replace direct call to master.db with master.data in
   - master/buildbot/process/builder.py
   - master/buildbot/process/build.py
update unittest
Merge branch 'nine' of git://github.com/delanne/buildbot into nine

+autopep8
+pyflake (brdis vs. brids)
fix pep8 to not try to check python embedded in node packages
UI updates for the latest data api changes

- New ui for logs
- updated UI for builder status, with better integrated status colors
- cleanup of css files

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

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