Fix word count in controllers

The number of words in text boxes with a word count were being incorrectly calculated for cases when the submitted value contained multiple spaces and/or line breaks in a row. This is fixed by grouping whitespace and line breaks in the "split" regex for counting words.

Fields with character-count "backup" validation to the specified word count should have the character count as the second validation, so if # words is over the user sees the "too many words" message rather than the "too many characters" message.