Connection pooling

Introduce connection pooling and fix compatibility with riakpbc 0.2.*. Improve connection management and promise handling.