Fix insert queries failing with expression objects.

Insert queries should support expression objects as values. This allows geo features from MySQL to be used, and enables other platform specific SQL functions.

Refs #4671
Never mind, I figured it out. I will update thay method as well.