fixed: gwords now works correctly thanks to @mdebbar for the fix
enhanced: some refactoring based on @mdebbar suggestions
enhanced: words function now have the same functionality without using regular expressions
added: automated tests and docs for gwords function
word_pattern remove based on @mdebbar suggestion
removed: word_pattern, not used anymore
Merge pull request #375 from Ahimta/master

gwords fixed, more tests and documentation