Adds MethMixin

Added a mixin to prevent the duplication of the same _execute_on_connection across compiler, ddl, elements, functions and schema.