Fix word validation logic

Word validation should return false if there are any non-word characters in the data.

[Deja vu?](https://github.com/Xeoncross/micromvc/pull/20) ;)