Flow Control Bit Fix #112
Check write(...) errno #43
Clean up of printf to use sprintf and return the error via the Baton
Clean up of gcc warning
Add error text per @mharsch, move to snprintf
Remove extraneous \n
Add a encoding parameter for readline

Cleaned up pull request of #129 by @crenovator and @genedna.

Optionally allows setting of alternative Buffer encodings besides UTF-8.
Add comment listing available encodings.
Merge pull request #188 from JayBeavers/FlowControlBitFix112

Flow Control Bit Fix #112
Merge pull request #189 from JayBeavers/checkErrno

Check write(...) errno for #43
Merge pull request #190 from fhemberger/patch-1

Cleanup of PR #129: Add a encoding parameter for readline