Accept Java source code for user-defined functions

Patch by Robert Stupp; reviewed by Tyler Hobbs for CASSANDRA-7562