Implemented dynamic buffer count support.

 * one drawback is that the "bufferCount()" method isn't static anymore, so the HostWindowOpenGLHybris has to pick a number itself.

Signed-off-by: Christophe Chapuis <chris.chapuis@gmail.com>