Only add __wakeup method to generated mock class if mocked class contains either no __wakeup or a non-final __wakeup method. This allows classes which define a final __wakeup to be mocked (e.g. PDO)
Merge pull request #232 from pgraham/final-wakeup-partial-mock

Allow mocking classes with final __wakeup() method