Handle buffered requests

Optionally (for now, should probably enable it by default) flush buffered data on commit.  This may not be needed in normal operations, but if BUFFER_REQUESTS behavior is enabled and we don't flush at commit there are no guarantees that the data ever hits memcached before the PosgreSQL backend terminates.