Added method to also copy MySQL functions and procedures. Some refactoring
Merge pull request #23 from juettemann/master

Copy Functions and procedures.