Some small fixes

These commits address a few small problems I did run into when trying out emacsql. Which by the way looks very promising, I am kinda surprised this doesn't get used more yet.

Also I was wondering whether you intend to eventually use the upcoming ffi instead a separate executable.