Added CompiledCode#to_sym, which returns #name

When a method is defined and the CompiledCode object is returned, it can be used to coerce for compatibility with the MRI 2.1 behavior of returning the defined method name as a symbol.