Add support for warnings=errors.

Change-Id: I710439b01b0585e5e97a337387c508ac26faa6c5
Add support for configuring pbr sphinx options.

Change-Id: Idfdd1c8850433bf3ea2439f939756f5c60bb88a1