[RUBY-56] Assert parameter types

assert types of parameters when binding a prepared statement