Refactored CREATE OR REPLACE FUNCTION(UDF) implementation after review.

A new private function mysql_drop_function_internal added in sql_udf.cc. It is used by both mysql_drop_function as well as mysql_create_function.