add magic methods as typehints

so e.g. `phpspec` can mock the dynamically created methods correctly.
second advantage is better autocompletion in IDEs

could you create a tag again once/if merged please?
Merge pull request #2 from digitalkaoz/patch-1

add magic methods as typehints