Bluez changes

Change-Id: I7878f0ded108a04201eb6a0f6700017b19cad873
Add support for ppoll and pselect

This is based on huge commit 11952073af22568b from master.

Change-Id: Ib033a75b6bd659a9ccb190f8c3b4ec75aa396731