[FIX] setup Environment for the report thread
Merge 8083afe7c365554e375fb16bd200ec21aa2481e8 into 736c5dd87ec9e60c3c83293e88123d569c5b4a27
[REM] threaded yaml import (useless and unused)
[FIX] creation of new threads where a new API environment should be initialized

* fix #1149 courtesy of @andreparames
* remove useless threaded yaml import
* openerp.service.server thread spawning get an API environment further down
  the stack
Merge branch '8.0' of https://github.com/odoo/odoo into 8.0-win32