[WIP][SPARK-2097][SQL] UDF Support

Remaining:
 - [x] Python Support
 - [x] Python Test cases
 - [x] Move out of hive
 - [ ] scala Test cases
 - [ ] Input coercion?
Can you explain more what you mean here?  Which quotes are not needed?