Stop using prepared statements

Certain queries were being sent as prepared statements, even when disabled in rails.
pgBouncer and other external connection pool managers don't deal well with prepared statements.
I'm unsure what other side effects this change may have.

Also see:

https://github.com/orslumen/record-cache/issues/21
https://github.com/rails/rails/pull/5872