Added possibility to set Pattern (e.g. Patterns.EMAIL_ADDRESS) as a param.

This way it's easier to reuse already created patterns, from e.g. android.util.
Merge pull request #9 from veelck/master

Merge veeick branch