Add a REPEAT function.

Because Postgres has one, and it's part of the JDBC tests. Plus test to
verify functionality.