Update condition from elem.parentNode to elem

This would eventually return at the html level rather than the
document level, which seems like that not what is supposed to
be happening.
Remove unecessary constructor assign
Move patterns to top of module
Merge pull request #10 from toddmotto/fix/displayError

Update condition from elem.parentNode to elem
update package.json
Merge pull request #11 from toddmotto/feature/cleanup2

Feature/cleanup2
RegExp strings to literals, goddamn JSHint :/
Merge branch 'master' of https://github.com/toddmotto/validator

Conflicts:
	src/validator.js
Add pattern msg, create email validation field
Remove stray console log
Add custom namespace support
Cleaner API, custom events property
Add namespace support to trigger
Update inputs
Fix namespacing error throwing undefined
addClass/hasClass/removeClass handlers, demo works now :D
Create parent traversal function, split out add/remove classes on parentNode
Remove hidden .grunt