Converting queries to use ArrayList<Object> (where Object is the appropriate class) instead of arrays.

NOTE: this is not yet fully complete.