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 in a row.
Check word count before char count

The word count is the 'official' limit - character counts are generous "backup" limits in case someone tries to save something far too big for a field.  By putting the word count before char count we ensure that the word count message is seen in most cases where a limit has been exceeded.
Merge pull request #175 from alphagov/textbox_wordcount_fix

Fix word count in controllers