Adding support for prepared insert queries

TODO: actually, as insert queries are way simpler then select ones, we can improve interpolation here with quite a low cost.