Implement sqlany_prepare

This furthers most of the tests