Add support for regex flags in pattern validation
Added support for already enclosed regex
Merge branch 'master' of https://github.com/QTSdev/Parsley.js into QTSdev-master
- added pattern flags support, used @nathancharles impl. (Closes #566, Refs #550)